AIF document class!


I would like to know if every document class(AXD…) needs to have method prepareForSave(), if not, then when it is needed ?

I am using AX 2009.

best regards,


Not necessarily.

If you want to do some validations and updates before saving.

Have a look at standard classes for better understanding. Example - AxdSalesQuotation, AxdSalesOrder