Hi,
I'm trying to update GP with inventory transfer requests from a POS system, via eConnect. I have implemented the official eConnect schemas, so I known my message is structured correctly. The message is quite straight forward and easy to map. The error message suggests that the sites don't exist and that the Item Number is not associated with the site, but we have check to make sure it is. The From location also has available inventory.
Error message
Error Number = 1373 Stored Procedure= taIVTransferLineInsert Error Description = The From Location Code/Site ID (TRXLOCTN) does not exist in Location/Site Setup - IV40700
Node Identifier Parameters: taIVTransferLineInsert
IVDOCNBR = POS_29
ITEMNMBR = 10001-00001-OS
TRXLOCTN = 31
TRNSTLOC = 30
Error Number = 1374 Stored Procedure= taIVTransferLineInsert Error Description = The To Location Code/Site ID (TRNSTLOC) does not exist in Location/Site Setup - IV40700
Node Identifier Parameters: taIVTransferLineInsert
IVDOCNBR = POS_29
ITEMNMBR = 10001-00001-OS
TRXLOCTN = 31
TRNSTLOC = 30
Error Number = 1375 Stored Procedure= taIVTransferLineInsert Error Description = The From Location Code/Site ID (TRXLOCTN) is not assigned to the Item Number (ITEMNMBR) passed in
Node Identifier Parameters: taIVTransferLineInsert
IVDOCNBR = POS_29
ITEMNMBR = 10001-00001-OS
TRXLOCTN = 31
TRNSTLOC = 30
Error Number = 1376 Stored Procedure= taIVTransferLineInsert Error Description = The To Location Code/Site ID (TRNSTLOC) is not assigned to the Item Number (ITEMNMBR) passed in
Node Identifier Parameters: taIVTransferLineInsert
IVDOCNBR = POS_29
ITEMNMBR = 10001-00001-OS
TRXLOCTN = 31
TRNSTLOC = 30
<taIVTransferLineInsert>
<IVDOCNBR>POS_29</IVDOCNBR>
<ITEMNMBR>10001-00001-OS</ITEMNMBR>
<LNSEQNBR>1</LNSEQNBR>
<TRXQTY>2</TRXQTY>
<UOFM>Ea</UOFM>
<TRXLOCTN>31</TRXLOCTN>
<TRNSTLOC>30</TRNSTLOC>
<TRFQTYTY>1</TRFQTYTY>
<TRTQTYTY>1</TRTQTYTY>
</taIVTransferLineInsert>
For reference here is the header node as well;
<taIVTransferHeaderInsert>
<BACHNUMB>Gastown_180808</BACHNUMB>
<IVDOCNBR>POS_29</IVDOCNBR>
<DOCDATE>2018-08-03</DOCDATE>
<POSTTOGL>0</POSTTOGL>
</taIVTransferHeaderInsert>
Originally I was just passing in the minimum number of fields and allowing the non-required fields to default, but I have since added these fields to ensure that these were not the cause. The addition of these fields did not have any effect on the error message.
Any help would be much appreciated.
Thanks,
Martin