Skip to main content

Posts

Showing posts with the label apply Axapta Tips and trick

Delete_from command to delete from table in axapta

As with the insert_recordset and update_recordset operators, there is also an option for deleting a chunk of records. This operator is called delete_from and is used as the next example shows: static void Delete_FromExample(Args _args) { CarTable carTable; ; delete_from carTable where carTable.Mileage == 0; }