creating contacts via rapid start

never_rednever_red Member Posts: 13
edited 2014-08-05 in NAV Three Tier
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

Comments

  • never_rednever_red Member Posts: 13
    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.
Sign In or Register to comment.