OmeLuuk
18th July 2022, 19:08
We have table extensions that will trigger an extended standard BOD.
Like the extended standard BOD is the Item_v3,
When some change is made in the pricebook for this item, we want to generate a new item BOD, so in tdpcg031 we added a call to trigger the Item_v3 from txesttdpcg031.
Also when there is a change in stock for an item we trigger the Item_v3, so when we see a change on an item record in whinr140 we trigger the item BOD from txestwhinr140.
What we would like to know, looking at the item BOD is where the BOD is triggered. We can see the session code (not by prog.name$ but by other variables) but we cannot see the name of the extension object (like otxestwhinr140) that causes the trigger.
I added an external variable "trigger_ID" that I would like to fill with the calling object.
Is there a way to tell from which extension the BOD is triggered?
Like the extended standard BOD is the Item_v3,
When some change is made in the pricebook for this item, we want to generate a new item BOD, so in tdpcg031 we added a call to trigger the Item_v3 from txesttdpcg031.
Also when there is a change in stock for an item we trigger the Item_v3, so when we see a change on an item record in whinr140 we trigger the item BOD from txestwhinr140.
What we would like to know, looking at the item BOD is where the BOD is triggered. We can see the session code (not by prog.name$ but by other variables) but we cannot see the name of the extension object (like otxestwhinr140) that causes the trigger.
I added an external variable "trigger_ID" that I would like to fill with the calling object.
Is there a way to tell from which extension the BOD is triggered?