Microsoft Dynamics NAV 2016 - New Function CURRENTCOMPANY.
Hi All,
Today in NAV 2016 I was writing a piece of code using Events & Subscriptions.
Below are some details of that -
I want to write some details on another company when a Item is inserted in a particular company but also wanted to fire OnInsert Trigger of Item in another company too.
Yes we all know how it is done in Navision C/AL Code, using CHANGECOMPANY and TRANSFERFIELDS.
But The Issue was the Subscriber was called again when the Insert was happening in the another company and it was looping through it. At the end it was generating an error message.
Read Complete Article »
Today in NAV 2016 I was writing a piece of code using Events & Subscriptions.
Below are some details of that -
I want to write some details on another company when a Item is inserted in a particular company but also wanted to fire OnInsert Trigger of Item in another company too.
Yes we all know how it is done in Navision C/AL Code, using CHANGECOMPANY and TRANSFERFIELDS.
But The Issue was the Subscriber was called again when the Insert was happening in the another company and it was looping through it. At the end it was generating an error message.