Update Contact record when importing Customer field

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)

Thanks Anfinnur! I had to put in a validate on the Customer field:

ImportedCustomer.GET(Customer.“No.”);
ImportedCustomer.VALIDATE(“BIK-code”,Customer.“BIK-code”);
CustContUpdate.OnModify(ImportedCustomer);

But then it worked!