Hi community,
I would like to delete a record from ProdTable (Production Order table) and all of related information from other tables (if any).
The normal way is: open "All production orders" record list, chose a record then press Delete button. The record is deleted well without any error message. Follow this way, after deleting I went to "View >> Net requirement >> Overview Tab" and saw that the associated record is also deleted.
However by doing this programatically, after deleting record from ProdTable, when going to "View >> Net requirement >> Overview Tab" I saw that the associated record still be there. Source code for deleting is:
ProdTable.doDelete();
So my understanding is when Delete button is pressed, the record from ProdTable is deleted and all of other related record from other tables are deleted as well. I looked at the method that is being called on Delete button and saw that is "Delete Record" (command). But unfortunately I can't find where this method is defined.
Is my understanding correct? If yes, where could I find the definition of "Delete Record" command? If not, how could I delete a record from ProdTable correctly? Please help.
Any help would be appreciated. Thank you all.
Wall-e.