
Hi,
I have the following scenario can any one please advise me on this.
when I create a customer in AX using AIF services by passing necessary inputs, the customer get created in AX with the AccountNum (Auto generated based on number seq.)
Similarly,
When I create a BOM item in AX using AIF services by passing necessary inputs, AIF throws an exception (i.e., Invalid document schema. The following error was returned: The element 'BOMTable' in namespace 'schemas.microsoft.com/.../BillsOfMaterials' has invalid child element 'ItemGroupId' in namespace 'schemas.microsoft.com/.../BillsOfMaterials'. List of possible elements expected: 'BOMId' in namespace 'schemas.microsoft.com/.../BillsOfMaterials'.)
I did some settings corresponding to BOM number seq. in Inventory Management >> Setup >>Inventory and Warehouse Management parameters.
For BOM reference I marked the number seq. as Manual.
and Try to create the Item using AIF, the BOM gets created.
Now, my question is.
W. r. t. Customer, I did not touch any setting related to number seq but the customers are creating through AIF with auto generated numbers.
W.r.t BOM, I changed the settings related to number seq (Manual) , then only BOMs are creating through AIF. Why the creation is not working with default settings (not Manual)
Can any one please suggest your thoughts on this
Regards,
Rasool
*This post is locked for comments
I have the same question (0)Hi Rasool,
When setting the number sequence to manual, did you also provide a BOM id in the source file? It is possible to check the field properties of the AIF service. There is a configuration where you can set a mandatory property. Properties can be different out of the box for the two services mentioned by you.