How can I run a codeunit for another company without using job queue
I want to approve a Purchase Invoice in another company.
so we have 5 companies
approver will have to go into every company and approve it
I can display all approvals from all company into one list but when he approves it errors, even I use changecompany function.
Any advise?
Thanks
Ajay Jain
UK
0
Answers
UK
For more details:https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-changecompany-method
Chang log management has special code to write to the foreign company's change log entry, but at least part of the setup is taken from the current one.
I have never analized how events behave under these circumstances.