I’m importing a specific field in table 18 Customer, which is normally also updated in table 5050 Contact. What should I write in my dataport (and in which trigger) to achieve that the Contact record is also updated on importing?
I tried ‘Customer.VALIDATE(Customer.)’ in the OnAfterImportRecord, but that doesn’t do the trick…
The synchronization is made in Customer.OnModify-trigger, so you have to call ImportedCustomer.MODIFY**(TRUE)**. Or you call codeunit “CustCont-Update”.OnModify(ImportedCustomer)