Hi All,
I am using changecompany function to get the records from other companies,
while insterting those in temp record variable, it keep says the record already exist.
say for "G/L Entry" table, if i get the data of other company thro changecompany and inserting it in the temp variable and display it. while inserting it throws error as
"G/L Entry Entry No. '1' already exists".
Kindly help me.
Regards,
Viji.
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
RIS Plus, LLC
so for your problem: You have the G/L as temp table and insert Account 123 for the first company. Now you change the company and there you will also insert in your temp. table the account 123 <- but this exist. so use a self defined table as temporary (for example you create your own with all needed fields so you can also use this table in other cases) and there you store company name and GL acc.
regards