Professional Documents
Culture Documents
Del rec from header should del all rec in line at a time becoz we specified deleteaction in parent tbl delete action works
Now open the form and add some values in line w.r.t header
Now try to delete the record (1000) from header Will generate a warning. As follows
Ie. Until the related records in line are deleted the header record will not be deleted. This is the delegate action type : restricted
description
Delete action disabled Deletes related records. [calls tables Delete()] Restricts deletion in the current table if data is present in related tables. [calls tables validateDelete()] Cascade the delete, even though records exist on related tables. [calls tables Delete() and validateDelete()]
Restricted
Cascade+Restricted
Note: This type of delete action is useful when you prefer a total clean-upwhen you delete a customer, you also delete all the transactions associated with that customer.