Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

ecconect expects a parameter @I_vSOPTYPE when importing SOP Invoice Distributions

Posted on by Microsoft Employee

we are trying to import SOP invoices using econnect and are getting the following error when trying to bring in manual distributions for each line item:  Procedure or function 'taSopDistribution' expects parameter '@I_vSOPTYPE', which was not supplied.

OUr XML seems to look OK and has the SOPTYPE for invoice

-<taSopDistribution>
<SOPTYPE>3</SOPTYPE>
<SOPNUMBE> 220,583</SOPNUMBE>
<DISTTYPE>1</DISTTYPE>
<ACTNUMST>000-4100-00</ACTNUMST>
<CRDTAMNT>1303.78</CRDTAMNT>
<CUSTNMBR>3253</CUSTNMBR>
</taSopDistribution>
-<taSopDistribution>
<SOPTYPE>3</SOPTYPE>
<SOPNUMBE>220,583</SOPNUMBE>
<DISTTYPE>2</DISTTYPE>
<ACTNUMST>000-1200-00</ACTNUMST>
<DEBITAMT>1303.78</DEBITAMT>
<CUSTNMBR>3253</CUSTNMBR>
</taSopDistribution>

Can someone help?  THanks!

*This post is locked for comments

  • JMcCoy Profile Picture
    JMcCoy 185 on at
    Re: ecconect expects a parameter @I_vSOPTYPE when importing SOP Invoice Distributions

    I would try removing the comma from your sop number, see if that helps.

  • Manikandan Profile Picture
    Manikandan 2,845 on at
    Re: ecconect expects a parameter @I_vSOPTYPE when importing SOP Invoice Distributions

    Hi Ranjit Charles,

                                  This is first time am answering in this forum try the followed one,

    when you creating the following object array  Use exact count value of the distribution.

    taSopDistribution_ItemsTaSopDistribution[] Object = new  taSopDistribution_ItemsTaSopDistribution[---------Use exact count value of the distribution(<taSopDistribution>)------- ]

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans