I'm posting the following xml to GP using eConnect but I'm getting the error above, any thoughts? Thanks in advance
<?xml version="1.0" encoding="utf-16"?> <eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <SOPTransactionType> <eConnectProcessInfo xsi:nil="true" /> <taRequesterTrxDisabler_Items xsi:nil="true" /> <taUpdateCreateItemRcd xsi:nil="true" /> <taUpdateCreateCustomerRcd xsi:nil="true" /> <taCreateCustomerAddress_Items xsi:nil="true" /> <taSopSerial_Items xsi:nil="true" /> <taSopLotAuto_Items xsi:nil="true" /> <taSopLineIvcInsert_Items> <taSopLineIvcInsert> <SOPTYPE>3</SOPTYPE> <CUSTNMBR>ORG-10250</CUSTNMBR> <DOCDATE>20/11/2013</DOCDATE> <ITEMNMBR>PLACEMENT</ITEMNMBR> <UNITPRCE>103.1</UNITPRCE> <XTNDPRCE>1237.2</XTNDPRCE> <QUANTITY>30</QUANTITY> <MRKDNAMT>61.86</MRKDNAMT> <ITEMDESC>Name: Super Woman, ID: SEU-11281, Date of Birth: 1 January 2011 Ref 1: PO555169 Placement: SER-25747 - Paul Pineapple Invoice in respect of Fostering Fees for the period 1 September 2013 to 30 September 2013 at 103.10 per nightCost and Volume Discount: 2%</ITEMDESC> <NONINVEN>1</NONINVEN> <SALSTERR>TEST</SALSTERR> <SLPRSNID>TEST</SLPRSNID> <IVITMTXB>2</IVITMTXB> <TAXSCHID>SZ</TAXSCHID> <SLSINDX>1000-0000-FPA</SLSINDX> <RTNSINDX>6000-0000-FPA</RTNSINDX> <CURNCYID>GBP</CURNCYID> <UOFM>Each</UOFM> </taSopLineIvcInsert> <taSopLineIvcInsert> <SOPTYPE>3</SOPTYPE> <CUSTNMBR>ORG-10250</CUSTNMBR> <DOCDATE>20/11/2013</DOCDATE> <ITEMNMBR>PLACEMENT</ITEMNMBR> <UNITPRCE>103.1</UNITPRCE> <XTNDPRCE>1214.58</XTNDPRCE> <QUANTITY>31</QUANTITY> <MRKDNAMT>63.92</MRKDNAMT> <ITEMDESC>Name: Super Woman, ID: SEU-11281, Date of Birth: 1 January 2011 Ref 1: PO555169 Placement: SER-25747 - Paul Pineapple Invoice in respect of Fostering Fees for the period 1 October 2013 to 31 October 2013 at 103.10 per nightCost and Volume Discount: 2%</ITEMDESC> <NONINVEN>1</NONINVEN> <SALSTERR>TEST</SALSTERR> <SLPRSNID>TEST</SLPRSNID> <IVITMTXB>2</IVITMTXB> <TAXSCHID>SZ</TAXSCHID> <SLSINDX>1000-0000-FPA</SLSINDX> <RTNSINDX>6000-0000-FPA</RTNSINDX> <CURNCYID>GBP</CURNCYID> <UOFM>Each</UOFM> </taSopLineIvcInsert> <taSopLineIvcInsert> <SOPTYPE>3</SOPTYPE> <CUSTNMBR>ORG-10250</CUSTNMBR> <DOCDATE>20/11/2013</DOCDATE> <ITEMNMBR>PLACEMENT</ITEMNMBR> <UNITPRCE>103.1</UNITPRCE> <XTNDPRCE>1214.58</XTNDPRCE> <QUANTITY>31</QUANTITY> <MRKDNAMT>63.92</MRKDNAMT> <ITEMDESC>Name: Super Woman, ID: SEU-11281, Date of Birth: 1 January 2011 Ref 1: PO555169 Placement: SER-25747 - Paul Pineapple Invoice in respect of Fostering Fees for the period 1 October 2013 to 31 October 2013 at 103.10 per nightCost and Volume Discount: 2%</ITEMDESC> <NONINVEN>1</NONINVEN> <SALSTERR>TEST</SALSTERR> <SLPRSNID>TEST</SLPRSNID> <IVITMTXB>2</IVITMTXB> <TAXSCHID>SZ</TAXSCHID> <SLSINDX>1000-0000-FPA</SLSINDX> <RTNSINDX>6000-0000-FPA</RTNSINDX> <CURNCYID>GBP</CURNCYID> <UOFM>Each</UOFM> </taSopLineIvcInsert> </taSopLineIvcInsert_Items> <taSopLineIvcInsertComponent_Items xsi:nil="true" /> <taSopTrackingNum_Items xsi:nil="true" /> <taSopCommissions_Items xsi:nil="true" /> <taSopLineIvcTaxInsert_Items /> <taCreateSopPaymentInsertRecord_Items xsi:nil="true" /> <taSopUserDefined xsi:nil="true" /> <taSopDistribution_Items> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>1</DISTTYPE> <ACTNUMST>1500-0000-FPA</ACTNUMST> <CRDTAMNT>3093</CRDTAMNT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>10</DISTTYPE> <ACTNUMST>1500-0000-FPA</ACTNUMST> <DEBITAMT>61.8599999999999</DEBITAMT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>1</DISTTYPE> <ACTNUMST>1500-0000-FPA</ACTNUMST> <CRDTAMNT>3196.1</CRDTAMNT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>10</DISTTYPE> <ACTNUMST>1500-0000-FPA</ACTNUMST> <DEBITAMT>63.9219999999999</DEBITAMT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>1</DISTTYPE> <ACTNUMST>1500-0000-FPA</ACTNUMST> <CRDTAMNT>3196.1</CRDTAMNT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>10</DISTTYPE> <ACTNUMST>1500-0000-FPA</ACTNUMST> <DEBITAMT>63.9219999999999</DEBITAMT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>2</DISTTYPE> <ACTNUMST>6000-0000-FPA</ACTNUMST> <DEBITAMT>9295.496</DEBITAMT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> <taSopDistribution> <SOPTYPE>3</SOPTYPE> <DISTTYPE>2</DISTTYPE> <ACTNUMST>6000-0000-FPA</ACTNUMST> <DEBITAMT>9295.496</DEBITAMT> <CUSTNMBR>ORG-10250</CUSTNMBR> </taSopDistribution> </taSopDistribution_Items>
<taAnalyticsDistribution_Items>
<taAnalyticsDistribution> <DOCNMBR>20112013-1701</DOCNMBR> <DOCTYPE>3</DOCTYPE> <AMOUNT>3093</AMOUNT> <NOTETEXT>rafa notes</NOTETEXT> <aaTrxDim>YOUNG PERSON</aaTrxDim> <aaTrxDimCode>11281</aaTrxDimCode> </taAnalyticsDistribution>
<taAnalyticsDistribution> <DOCNMBR>20112013-1701</DOCNMBR> <DOCTYPE>3</DOCTYPE> <AMOUNT>3093</AMOUNT> <NOTETEXT>rafa notes</NOTETEXT> <aaTrxDim>CARER</aaTrxDim> <aaTrxDimCode>10545</aaTrxDimCode> </taAnalyticsDistribution>
<taAnalyticsDistribution> <DOCNMBR>20112013-1701</DOCNMBR> <DOCTYPE>3</DOCTYPE> <AMOUNT>3196.1</AMOUNT> <NOTETEXT>rafa notes</NOTETEXT> <aaTrxDim>YOUNG PERSON</aaTrxDim> <aaTrxDimCode>11281</aaTrxDimCode> </taAnalyticsDistribution>
<taAnalyticsDistribution> <DOCNMBR>20112013-1701</DOCNMBR> <DOCTYPE>3</DOCTYPE> <AMOUNT>3196.1</AMOUNT> <NOTETEXT>rafa notes</NOTETEXT> <aaTrxDim>CARER</aaTrxDim> <aaTrxDimCode>10545</aaTrxDimCode> </taAnalyticsDistribution>
<taAnalyticsDistribution> <DOCNMBR>20112013-1701</DOCNMBR> <DOCTYPE>3</DOCTYPE> <AMOUNT>3196.1</AMOUNT> <NOTETEXT>rafa notes</NOTETEXT> <aaTrxDim>YOUNG PERSON</aaTrxDim> <aaTrxDimCode>11281</aaTrxDimCode> </taAnalyticsDistribution>
<taAnalyticsDistribution> <DOCNMBR>20112013-1701</DOCNMBR> <DOCTYPE>3</DOCTYPE> <AMOUNT>3196.1</AMOUNT> <NOTETEXT>rafa notes</NOTETEXT> <aaTrxDim>CARER</aaTrxDim> <aaTrxDimCode>10545</aaTrxDimCode> </taAnalyticsDistribution>
</taAnalyticsDistribution_Items> <taSopMultiBin_Items xsi:nil="true" /> <taSopHdrIvcInsert> <SOPTYPE>3</SOPTYPE> <DOCID>AUTO</DOCID> <SOPNUMBE>20112013-1701</SOPNUMBE> <DOCDATE>20/11/2013</DOCDATE> <CUSTNMBR>ORG-10250</CUSTNMBR> <CUSTNAME>Birmingham City Council</CUSTNAME> <CSTPONBR>PO-001</CSTPONBR> <SUBTOTAL>3666.36</SUBTOTAL> <DOCAMNT>3666.36</DOCAMNT> <BACHNUMB>IRU-168</BACHNUMB> <CREATEDIST>0</CREATEDIST> <CURNCYID>GBP</CURNCYID> <NOTETEXT>New invoice created from Pengower MCA</NOTETEXT> </taSopHdrIvcInsert> <taSopToPopLink xsi:nil="true" /> <taSopUpdateCreateProcessHold xsi:nil="true" /> <taCreateSOPTrackingInfo xsi:nil="true" /> <taMdaUpdate_Items xsi:nil="true" /> </SOPTransactionType> </eConnect>
*This post is locked for comments
Hi Greg,
I have had a look at my code and the way I think I fixed it was to set the AMOUNTSpecified attribute:
AMOUNTSpecified = true;
Good luck!
Rafael,
Did you find a answer to your issue? I have the same issue currently and I am at a road block.
Would love to know what you did to correct this or at least know what was causing it.
Thank Greg
Error Number = 9469 Stored Procedure= taAnalyticsDistribution Error
Description = Cannot find a distribution amount based on input values Node Identifier Parameters:
taAnalyticsDistribution Related Error Code Parameters for Node : taAnalyticsDistribution AMOUNT = Note: This parameter was not passed in, no value for the parameter will be returned.
Thanks Santosh
Hi RAFEAL,
Would that be possible to provide the Error number that is generated for this to check this further.
Regards,
Santosh G
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156