Microsoft Dynamics AX 4.0 SP2 has just been released. For AIF this means two great things:

 

  • The AIF framework supports updating and deleting data.
  • There are 15 new document classes.

 

CRUD

With the release of SP2, AIF now supports CRUD (create, read, update and delete). This means that the framework supports updating and deleting of data through document exchange (the document classes).

 

To support updating in the document classes, there are two new action types: ProcessEntity and ProcessEntityList. The ProcessEntity action is used to update a single entity. The ProcessEntityList action is used to update one or more entities or to delete one or more entities. There will be more to come about how to use these actions to update and delete data in future posts.

 

AxdSalesOrder Supports CRUD

 

Some of the document classes new to SP2 support update and delete (see the list below). The AxdSalesOrder class is an existing document class from version 4.0 that has been updated to support update and delete actions in SP2.

 

New Document Classes

 

The following table lists the document classes that are new to SP2. Also listed are the actions that those classes support.

 

Document Class

Supports (Create, Read, Update, Delete)

AxdAddress

CRUD

AxdContactPersons

CRUD

AxdCustomer

CRUD

AxdCustomerGroups

R

AxdItem

CR

AxdInventColor

R

AxdConfigTable

R

AxdInventSize

R

AxdInventDimCombination

R

AxdPaymentTerms

R

AxdInventItemGroup

R

AxdDeliveryModes

R

AxdUnit

R

AxdUnitConvert

R

AxdInventLocation

R