I am using AX 2012 R2 CU7. I am running into the below issue detailed as below.
I have updated the existing Sales Order AIF Service to include the custom table in the AxdSalesOrder Query in the AOT. After updating the Query, I have updated the SalesSalesOrderService using AIF Document Wizard. The services got updated with any issues and did CIL/Refresh after that. However, I am facing the below issue when I am trying to use the service to Import the Sales Order into AX via Sales Order Service.
The error I am getting is : “This document does not support the AxTRXSalesTable class”.
In the AxdSalesOrder class inside prepareForSave method, there is no case added for the new custom table class i.e. AxBC class that was added in the Query. However the AxBC class for the new table in the Query got generated. I assume the case for the AxBC class should be added by AX itself in the prepareForSave method of AxdSalesOrder class.
Can you please help us resolve the above issue as we are stuck up on how to proceed.
Would appreciate for a quick response. Thanks a lot in advance.