on 03-01-2019 5:08 AM
Hi Expert ,
I am trying to add one AR-Reserve Invoice using DI-Server object without any base document .SAP B1 return below response error :
'There is a difference between the document total and its components. [OINV.DocTotalFC][line: 0]'
Below is my post request data :
<Envelopes xmlns:urn="urn:Magento" xmlns:ebay="urn:ebay:apis:eBLBaseComponents" xmlns:sourcelib="lib:SourceAppResource" xmlns:destinationlib="lib:DestinationAppResource" xmlns:genericlib="lib:genericAppResource" xmlns:cloudResourcelib="lib:cloudAppResource"> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <SessionID>{0}</SessionID> </env:Header> <env:Body> <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS"> <BOM> <BO> <AdmInfo> <Object>oInvoices</Object> </AdmInfo> <Document_Lines> <row> <UnitPrice>19.412500</UnitPrice> <Quantity>1.0000</Quantity> <DiscountPercent>0</DiscountPercent> <U_WebOrderItemId>1377932</U_WebOrderItemId> <ItemCode>SSFBMON100</ItemCode> </row> </Document_Lines> <DocumentsAdditionalExpenses> <row> <LineTotal>4.087500</LineTotal> <ExpenseCode>1</ExpenseCode> </row> </DocumentsAdditionalExpenses> <Documents> <row> <DocType>dDocument_Items</DocType> <CardCode>G29</CardCode> <DocDate>20190226</DocDate> <DocDueDate>20190226</DocDueDate> <NumAtCard>600017041</NumAtCard> <U_InvoiceId>572788</U_InvoiceId> <ReserveInvoice>tYES</ReserveInvoice> <U_NumAtCard>600017041</U_NumAtCard> <U_PAYMETH>checkmo</U_PAYMETH> </row> </Documents> <AddressExtension> <row> <ShipToCity>Köln</ShipToCity> <ShipToZipCode>50825</ShipToZipCode> <ShipToCountry>DE</ShipToCountry> <BillToStreet>Intzestr9 </BillToStreet> <BillToCity>Köln</BillToCity> <BillToZipCode>50825</BillToZipCode> <BillToCountry>DE</BillToCountry> <ShipToStreet>Intzestr9 </ShipToStreet> </row> </AddressExtension> </BO> </BOM> </dis:AddObject> </env:Body> </env:Envelope> </Envelopes>
Thanks & Regards
Surajit Kundu
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.