Can you give a back end solution here.
Requirement is : there is a master and a detail table. When a detail record changes, we want to check all other detail records and update master record.
For example: There is a Purchase Order header and detail tables. Suppose a PO's status is open (not all lines received yet, so balance of those lines is >0 ). User modifies the PO and updates PO detail line's cancelled qtys such that all or some line's balance becomes 0. The trigger should now check and update PO header's status as Closed if all lines on the PO have balance as 0. Is such a trigger possible without getting mutations?
