We have a custom-defined script that triggers Post-Write on the table CI_Item. This script then reads the field 'ItemCode' of that table.
We also want to extend this by triggering this script with other tables.
I am seeking a way to retrieve the table's name that triggered the event. Depending on the table's name, I'll retrieve a specific column. The remaining script will be unchanged.
How do I retrieve the table's name from oScript, oBusObj, or whatever variable exposes that data?
I looked here but didn't find any function that answers my needs.