How to delete tuples added to test a setup
The idea is to avoid to reset all the DB (the records - tuples actually - created being there just for the purpose of testing the DB setup)
For the moment I have only a raw test tree of Entities where tuples should be deleted after a Setup done with install-seed-initial on a POS instance
For the POS
Of course it's not a real tree (it has many roots) and the cleaning should begin by the leaves and rolled up... I did by hand for now (to have a trace). It should not be too hard to extent...
Code Block |
---|
OrderHeader OrderItem OrderItemBilling OrderItemShipGroupAssoc OrderAdjustment (none if any taxes or promotion have been used) OrderItemShipGroup OrderPaymentPreference Payment PaymentApplication OrderRole OrderStatus PosTerminalLog Invoice InvoiceContactMech InvoiceItem InvoiceRole InvoiceStatus |