M
mihai_neagoe
Guest
Hi Gian, The trigger from the parent is executed indeed when all children are saved but the order is still the same: parent- child. As in the example below: if an Order is approved and the OrderLines have changed quantities in one save - then we receive the approve Order first (which collects the incorect amounts from lines) and after this the OrderLines. We can add in the 'On finalize' trigger a service invoke to approve the Order when the flag is set but this is too late in our scenario: we need to prevent the first approve on save - it is also an overhead for future deployments : the triggers needs to be changed for each environment. Could we check a different approach for this? Thank you
Continue reading...
Continue reading...