Hello,
I want to copy the value of Global Dimension 1 of a contact in company A to a contact in company B. When I assign them with
RecContactCompanyB."Global Dimension 1 Code" := RecContactCompanyA."Global Dimension 1 Code"
it does not work. The field in RecContactCompanyB remains empty. What am I doing wrong ?
Best regards
Josh R.
0
Comments
IF NOT(RecContactCompanyB.GET(RecContactCompanyA." No.")) THEN
EXIT
ELSE BEGIN
RecContactCompanyB."Global Dimension 1 Code" := RecContactCompanyA."Global Dimension 1 Code";
RecContactcompanyB.MODIFY;
END;
If you change the "EXIT" with an "ERROR('No record found');", and you get the error, it means you didn't find a record.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!