Skip to main content

Posts

Showing posts with the label cascade and restricted

Types of delete actions in axapta

Types of delete actions in axapta. There are 4 types of Delete action  in table for axapta. None Cascade Restricted Cascade+Restricted None A None deletion action will delete selected row in the table but nothing occurs to the table that relate to this table. Cascade A cascading deletion action will delete all records in the related table, where the foreign key is equivalent to the primary key of the current table. .ie. deleting the parent record will also delete the child record(s) in the related table. This cascading will take place whether the deletion is performed in code or directly by a user through the user interface. Restricted A restricting delete action will raise an error message if the user tries to delete a record, where records exist in the related table where the foreign key is equivalent to the primary key of the current table. This error will only appear if the deletion is performed through the user interface. A deletion from X++ code will be allo