Hello All,
I'm sending a ProcessBillOfMaterials BOD using ION, For the first time when i sent ProcessBillOfMaterials with BillOfMaterialsHeader it has inserted the data in LN successfully, Second time when i sent ProcessBillOfMaterials with BillOfMaterialsHeader and BillOfMaterialsLine, it is throwing errors.
In the BOM i have the engineering eitem and revision, and bom for it.
No inventory unit found for Component E-Item xxxx.
Can any one please assist in this.
Below is the BOD.
<?xml version="1.0" encoding="utf-8"?>
<ProcessBillOfMaterials>
<ApplicationArea>
<Sender>
<LogicalID>xxxx</LogicalID>
<ComponentID></ComponentID>
<ConfirmationCode></ConfirmationCode>
</Sender>
<BODID></BODID>
</ApplicationArea>
<DataArea>
<Process >
<TenantID>xxxx</TenantID>
<AccountingEntityID>250</AccountingEntityID>
<LocationID></LocationID>
<ActionCriteria>
<ActionExpression actionCode="Add"/>
</ActionCriteria>
</Process>
<BillOfMaterials>
<BillOfMaterialsHeader>
<DocumentID>
<ID>5091782</ID>
<RevisionID>000001</RevisionID>
</DocumentID>
<Description>Rev Test 2</Description>
<Status>
<Code>Open</Code>
</Status>
<OutputItem>
<ItemID>
<ID>5091782</ID>
</ItemID>
<Description>Rev Test 2</Description>
<Classification>
<Codes>
<Code listID="Item Types">Product</Code>
<Code listID="Item Groups">CRN100</Code>
</Codes>
</Classification>
<Type>Primary</Type>
<UOMGroupReference>
<ID>001</ID>
</UOMGroupReference>
<Quantity unitCode="PCS">1</Quantity>
<EffectiveTimePeriod>
<StartDateTime>2020-03-31T12:00:00Z</StartDateTime>
</EffectiveTimePeriod>
</OutputItem>
<Status>
<Code>Open</Code>
</Status>
</BillOfMaterialsHeader>
<BillOfMaterialsLine>
<LineNumber>10</LineNumber>
<BillOfMaterialsReference>
<DocumentID>
<ID>2212632</ID>
</DocumentID>
<Quantity unitCode="PCS">1</Quantity>
</BillOfMaterialsReference>
<UserArea />
</BillOfMaterialsLine>
</BillOfMaterials>
</DataArea>
</ProcessBillOfMaterials>