Quantcast
Channel: SCN: Message List - SAP Business One Integration Technology
Viewing all articles
Browse latest Browse all 973

B1i Scenario: Picklist update with multiple items

$
0
0

Hello all,

 

We are running SBO 9.1 and our scenario has been working without a problem until we started testing updating pick lists with multiple items.

The items are are batch based and we have bin location.

 

With the following payload everything works as expected:

 

<Payload Role="X" id="atom23">  <PickLists_Lines xmlns="">  <row>  <AbsoluteEntry>3521</AbsoluteEntry>  <PickedQuantity>20.000000</PickedQuantity>  <LineNumber>0</LineNumber>  </row>  </PickLists_Lines>  <BatchNumbers xmlns="">  <row>  <BatchNumber>15070027</BatchNumber>  <Quantity>20.000000</Quantity>  <BaseLineNumber>0</BaseLineNumber>  </row>  </BatchNumbers>  <DocumentLinesBinAllocations xmlns="">  <row>  <BinAbsEntry>58</BinAbsEntry>  <Quantity>20.000000</Quantity>  <SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>  <BaseLineNumber>0</BaseLineNumber>  </row>  </DocumentLinesBinAllocations></Payload>

But as aforementioned if we have two items like:

<Payload Role="X" id="atom23">  <PickLists_Lines xmlns="">  <row>  <AbsoluteEntry>3520</AbsoluteEntry>  <PickedQuantity>60.000000</PickedQuantity>  <LineNumber>0</LineNumber>  </row>  <row>  <AbsoluteEntry>3520</AbsoluteEntry>  <PickedQuantity>25.000000</PickedQuantity>  <LineNumber>1</LineNumber>  </row>  </PickLists_Lines>  <BatchNumbers xmlns="">  <row>  <BatchNumber>15070027</BatchNumber>  <Quantity>60.000000</Quantity>  <BaseLineNumber>0</BaseLineNumber>  </row>  <row>  <BatchNumber>15080042</BatchNumber>  <Quantity>25.000000</Quantity>  <BaseLineNumber>1</BaseLineNumber>  </row>  </BatchNumbers>  <DocumentLinesBinAllocations xmlns="">  <row>  <BinAbsEntry>58</BinAbsEntry>  <Quantity>60.000000</Quantity>  <SerialAndBatchNumbersBaseLine>0</SerialAndBatchNumbersBaseLine>  <BaseLineNumber>0</BaseLineNumber>  </row>  <row>  <BinAbsEntry>58</BinAbsEntry>  <Quantity>25.000000</Quantity>  <SerialAndBatchNumbersBaseLine>1</SerialAndBatchNumbersBaseLine>  <BaseLineNumber>1</BaseLineNumber>  </row>  </DocumentLinesBinAllocations></Payload>

If we use

SerialAndBatchNumbersBaseLine 0 and 1, like in the example, we get the following error:

DI Error: (-10) 1470000838 - Invalid SerialAndBatchNumbersBaseLinespecify a valid SerialAndBatchNumbersBaseLine

 

if we use SerialAndBatchNumbersBaseLine 0 and 0 (zero in both entries as described in the SAP notes) we get the following one:

DI Error: (-4014) Cannot add row without complete selection of batch/serial numbers


Any ideas would be appreciated as we have an UAT very soon and we wouldn't want to postpone it.

 

Seri

AalAndBatchNumbersBaseLine


Viewing all articles
Browse latest Browse all 973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>