Hello everyone!
I'm writing an application in VB.NET that allows users to enter information for a Receivings Transaction. I follow the schema provided in the programmers guide, but even when the code shows no error, when I try to see the transaction in GP, this doesn't show. I look at the tables (POP10330, POP10310, POP10500) and the transaction is there, but not the header(POP10300). I don't know why the header is missing.
The XML shows this:
<?xml version="1.0" encoding="utf-8" ?>
- <eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<eConnectProcessInfo xsi:nil="true" />
<taRequesterTrxDisabler_Items xsi:nil="true" />
<taUpdateCreateItemRcd xsi:nil="true" />
<taUpdateCreateVendorRcd xsi:nil="true" />
<taCreateVendorAddress_Items xsi:nil="true" />
- <taPopRcptLotInsert_Items>
<POPRCTNM>RCT00000000011960</POPRCTNM>
<ITEMNMBR>TEST ITEM</ITEMNMBR>
<RCPTLNNM>16384</RCPTLNNM>
<LOCNCODE>GENERAL</LOCNCODE>
<EXPNDATE>12/12/2008</EXPNDATE>
</taPopRcptLotInsert>
</taPopRcptLotInsert_Items>
<taPopRcptSerialInsert_Items xsi:nil="true" />
- <taPopRcptLineInsert_Items>
<POPRCTNM>RCT00000000011960</POPRCTNM>
<PONUMBER>TEST PO</PONUMBER>
<ITEMNMBR>TEST ITEM</ITEMNMBR>
<VENDORID>TEST VENDOR ID</VENDORID>
<RCPTLNNM>16384</RCPTLNNM>
<LOCNCODE>GENERAL</LOCNCODE>
<POLNENUM>16384</POLNENUM>
<receiptdate>09/01/2008</receiptdate>
</taPopRcptLineInsert>
</taPopRcptLineInsert_Items>
<taPopRcptMultiBin_Items xsi:nil="true" />
- <taPopRcptLineTaxInsert_Items>
- <taPopRcptLineTaxInsert>
<VENDORID>TEST VENDOR ID</VENDORID>
<POPRCTNM>RCT00000000011960</POPRCTNM>
<TAXDTLID>TEST TAX</TAXDTLID>
<RCPTLNNM>16384</RCPTLNNM>
</taPopRcptLineTaxInsert>
</taPopRcptLineTaxInsert_Items>
<taPopRctUserDefined xsi:nil="true" />
<taPopDistribution_Items xsi:nil="true" />
<taAnalyticsDistribution_Items xsi:nil="true" />
<POPRCTNM>RCT00000000011960</POPRCTNM>
<VNDDOCNM>12345</VNDDOCNM>
<receiptdate>09/01/2008</receiptdate>
<BACHNUMB>REC09/01/2009</BACHNUMB>
<VENDORID>TEST VENDOR ID</VENDORID>
<TAXSCHID>TEST TAX</TAXSCHID>
</taPopRcptHdrInsert>
<taMdaUpdate_Items xsi:nil="true" />
</POPReceivingsType>
</eConnect>
Thanks in advance for your help.