I’m trying to create a block which represents an order and that block has a master-detail relationship with the block order_itens.
I need to forbid the saving of this data structure IF i don’t have any records in order_itens.
I’m trying to create a block which represents an order and that block has
Share
One way is to use a POST-FORMS-COMMIT trigger. This fires after all data has been inserted, updated or deleted but before the database commit. So you can do something like: