creating contacts via rapid start

never_red
Member Posts: 13
Hi
I am trying to create customer company contacts via rapid start and having a problem when I try and link the contact to the customer.
I have a config package that has table 5050 - contacts, and table 5054 - contact business relation.
when I upload the data and apply the package the contacts create fine but I get an error on every record on the contact business relation table.
The error just says that the code cust is used when linking customers and contacts
I have run the debugger (sadly I am no developer and have no idea what this means) and it gave me the following
RMSetup.GET;
IF "Business Relation Code" = RMSetup."Bus. Rel. Code for Customers" THEN
ERROR(Text001,
FIELDCAPTION("Business Relation Code"),"Business Relation Code",
Cont.TABLECAPTION,Cust.TABLECAPTION);
IF "Business Relation Code" = RMSetup."Bus. Rel. Code for Vendors" THEN
ERROR(Text001,
FIELDCAPTION("Business Relation Code"),"Business Relation Code",
Cont.TABLECAPTION,Vend.TABLECAPTION);
IF "Business Relation Code" = RMSetup."Bus. Rel. Code for Bank Accs." THEN
ERROR(Text001,
FIELDCAPTION("Business Relation Code"),"Business Relation Code",
Cont.TABLECAPTION,BankAcc.TABLECAPTION);
END;
any help would be much appreciated
I am trying to create customer company contacts via rapid start and having a problem when I try and link the contact to the customer.
I have a config package that has table 5050 - contacts, and table 5054 - contact business relation.
when I upload the data and apply the package the contacts create fine but I get an error on every record on the contact business relation table.
The error just says that the code cust is used when linking customers and contacts
I have run the debugger (sadly I am no developer and have no idea what this means) and it gave me the following
RMSetup.GET;
IF "Business Relation Code" = RMSetup."Bus. Rel. Code for Customers" THEN
ERROR(Text001,
FIELDCAPTION("Business Relation Code"),"Business Relation Code",
Cont.TABLECAPTION,Cust.TABLECAPTION);
IF "Business Relation Code" = RMSetup."Bus. Rel. Code for Vendors" THEN
ERROR(Text001,
FIELDCAPTION("Business Relation Code"),"Business Relation Code",
Cont.TABLECAPTION,Vend.TABLECAPTION);
IF "Business Relation Code" = RMSetup."Bus. Rel. Code for Bank Accs." THEN
ERROR(Text001,
FIELDCAPTION("Business Relation Code"),"Business Relation Code",
Cont.TABLECAPTION,BankAcc.TABLECAPTION);
END;
any help would be much appreciated
0
Comments
-
I have sorted this issue.
when uploading company contacts that are linked to customers you need to remove the customer code from the business relationship area of the marketing setup first. once uploaded enter the code for customers back into the marketing setup and it will link the contacts to the customers.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions