How to change EDT and propagate this to AIF XML Schema (XSD).
Sometimes you have to change parameter of Extended data type which are also used by AIF. For example number of decimal digits etc. When you change this settings just in Dynamics AX AOT and save it, still you will have old values in generated XSD, that means any inbound message will be validated against old EDT settings.
In that case you have to perform following steps:
- Change EDT properties
- Clear row of table AifSchemaStore for service which is using that EDT (for example AxdSalesOrder)
- Clear row (ex. SalesOrder) in table AidDocumentSchemaTable
- Clean AIF Service folder (if you have it – Web Service)
- Click Generate in AIF Services
- Browse Endpoints Data Action policy enable/disable something of mentioned service
- View Schema in Endpoint for service operation (ex. SalesSalesOrderService.create)
Karel F