I am trying to create customer orders with process.salesorder. Each time I get this: Line Record Not Found (1106). How can I find what is wrong ? I have removed a lot of lines and still the same. We are on Cloud
That's going to be more of a question for the ERP you are integrating to than ION. If your ERP software has any BOD/API error reporting, I would start there.
the only thing I can see is this
This looks like CSD. Correct?
Did you look in ETCC? maybe it did not get that far.... ?
If you post the entire Process BOD, I can take a look.
nothing in etcc. ok I will post later today
here it is:
<?xml version="1.0" encoding="utf-8"?><ProcessSalesOrder xmlns="http://schema.infor.com/InforOAGIS/2" xmlns:schemaLocation="http://schema.infor.com/InforOAGIS/2 http://schema.infor.com/trunk/InforOAGIS/BODs/Developer/ProcessSalesOrder.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" releaseID="9.2" versionID="2.9.0"><ApplicationArea><Sender><LogicalID>lid://infor.sx.sx</LogicalID></Sender><CreationDateTime>2021-02-04</CreationDateTime><BODID>infor-nid:infor:MP_TST:1:::?SalesOrder&verb=Process</BODID></ApplicationArea><DataArea><Process><TenantID>MP_TST</TenantID><AccountingEntityID>1</AccountingEntityID><LocationID>15</LocationID><ActionCriteria><ActionExpression actionCode="Add"/></ActionCriteria></Process><SalesOrderHeader><DocumentID><ID accountingEntity="1">1</ID><RevisionID/></DocumentID><DocumentDateTime>2021-02-01T21:02:08Z</DocumentDateTime><CustomerParty><PartyIDs><ID accountingEntity="1">11275</ID></PartyIDs></CustomerParty><ShipToParty><PartyIDs><ID accountingEntity="1">11275-0611</ID></PartyIDs></ShipToParty></SalesOrderHeader><SalesOrderLine><LineNumber>Line001</LineNumber><Item><ItemID><ID accountingEntity="1">AZZ851VMG</ID></ItemID></Item><Quantity unitCode="EA">4</Quantity><BaseUOMQuantity unitCode="EA">4</BaseUOMQuantity><UnitPrice><Amount currencyID="">124.75</Amount><PerBaseUOMQuantity unitCode="EA">1</PerBaseUOMQuantity></UnitPrice><ExtendedAmount currencyID="">499.00</ExtendedAmount><ExtendedBaseAmount currencyID="">499.00</ExtendedBaseAmount><ExtendedReportAmount currencyID="">499.00</ExtendedReportAmount><TotalAmount currencyID="">499.00</TotalAmount><TotalBaseAmount currencyID="">499.00</TotalBaseAmount><TotalReportAmount currencyID="">499.00</TotalReportAmount><PromisedShipDateTime>2021-02-08T21:02:08Z</PromisedShipDateTime></SalesOrderLine></DataArea></ProcessSalesOrder>
Hello -
This jumped out at me
<LineNumber>Line001</LineNumber>
I actually have not used this process BOD but I have used the API quite a bit and I think this should be a number and not contain 'Line'
give it a try
I did try it as 001 and also 1, but stil the same error
The <SalesOrderHeader> and <SalesOrderLine> should be enclosed in <SalesOrder>.