Purch / Invent / Sales Setup Update

Hey all,

For a released product ( InvenTable record ) I am trying to update a field based on a change being made to the Order Settings setup ( InventItemInventSetup, PurchSetup, SalesSetup etc. ).

I am not sure where is best to place the code, I’d like to evaluate if all three modules have a certain setting and then reflect that back on a status field on the InventTable record itself for user filtering purposes.



I ended up using the Close() method on the called form. When it is closing, it checks the desired values of the modified records and if they meet the condition, it will update the calling record’s field.