questteam 1/17/2018 12:22:58 PM

Do a sales return though econnect and aslo do inventory transfer in specific bin

Hi, 

I am trying to do a return sales through econnect. Also I want to inventory transfer to take place in  proper site in respective bin. I have copied my xml structure below. But the inventory transfer takes in in default bin. But I want to take it the bin I want not in the default bin. Also the quantity gets added twice in default bin. Can you please help me?

<eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <SOPTransactionType>
    <taSopLineIvcInsert_Items>
      <taSopLineIvcInsert>
        <SOPTYPE>4</SOPTYPE>
        <CUSTNMBR>AMAZ01</CUSTNMBR>
        <DOCDATE>2018-01-16</DOCDATE>
        <LOCNCODE>SJ_RETURNS</LOCNCODE>
        <ITEMNMBR>IBAT40XRP</ITEMNMBR>
        <UNITPRCE>143.7</UNITPRCE>
        <XTNDPRCE>287.4</XTNDPRCE>
        <QUANTITY>2</QUANTITY>
        <PRCLEVEL>FOBUSA</PRCLEVEL>
        <QTYONHND>2</QTYONHND>
        <DOCID>R</DOCID>
        <SOPNUMBE>RTN00000000018274</SOPNUMBE>
      </taSopLineIvcInsert>
    </taSopLineIvcInsert_Items>
    <taSopMultiBin_Items>
      <taSopMultiBin>
        <SOPTYPE>4</SOPTYPE>
        <ITEMNMBR>IBAT40XRP</ITEMNMBR>
        <BIN>100TRI_RETURNS</BIN>
        <QUANTITY>2</QUANTITY>
        <CreateBin>1</CreateBin>
        <USRDEFND1>Check the bin set to 100 tri</USRDEFND1>
        <SOPNUMBE>RTN00000000018274</SOPNUMBE>
      </taSopMultiBin>
    </taSopMultiBin_Items>
    <taSopHdrIvcInsert>
      <SOPTYPE>4</SOPTYPE>
      <DOCID>R</DOCID>
      <LOCNCODE>SJ_RETURNS</LOCNCODE>
      <DOCDATE>2018-01-16</DOCDATE>
      <TRDISAMT>0</TRDISAMT>
      <CUSTNMBR>AMAZ01</CUSTNMBR>
      <CSTPONBR>PRIYAdfdg</CSTPONBR>
      <SUBTOTAL>287.4</SUBTOTAL>
      <DOCAMNT>287.4</DOCAMNT>
      <BACHNUMB>PRITEST110</BACHNUMB>
      <SOPNUMBE>RTN00000000018274</SOPNUMBE>
    </taSopHdrIvcInsert>
  </SOPTransactionType>
</eConnect>

Thanks

Priya

Version: GP 2013
Section: eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3