Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Econnect error while creating order

(0) ShareShare
ReportReport
Posted on by

Hi All,

i am working with GP2016 integration with Econnect API.

when i try to create order facing below issue.

Error Number = 1321 Stored Procedure= taSopHdrIvcInsert Error Description = The payment doc date must = the trx doc date for MC trxs
Node Identifier Parameters: taSopHdrIvcInsert
SOPNUMBE = TWEBM000000081
SOPTYPE = 2
Related Error Code Parameters for Node : taSopHdrIvcInsert
DOCDATE = 08/27/2018

any help or thoughts on the issue for resolution would be highly appreciable.

Thanks,

Praveen

*This post is locked for comments

  • Suggested answer
    ronybanerjee_raj Profile Picture
    5 on at
    RE: Econnect error while creating order

    Hey,

    If you are also pushing payment ( along with the order information ( Put the same sequence as shown in below at least the first 4 elements of taCreateSopPaymentInsertRecord)

    SOPTYPE

    2=Order;

    3=Invoice;

    4=Return;

    5=Back order;

    6=Fulfillment order

    I am trying with SOPTYPE=2

    PYMTTYPE(Payment types:)

    1=Cash deposit;

    2=Check deposit;

    3=Credit card deposit;

    4=Cash payment;

    5=Check payment;

    6=Credit card payment

    I am trying payment type 6 here.

    Try this out:

    <taCreateSopPaymentInsertRecord>

    <SOPTYPE>2</SOPTYPE>

    <CUSTNMBR>WS123456</CUSTNMBR>

    <DOCAMNT>288.12</DOCAMNT>

    <DOCDATE>2019-08-29</DOCDATE>

    <CARDNAME>Visa</CARDNAME>

    <RCTNCCRD>1234</RCTNCCRD>

    <AUTHCODE>655</AUTHCODE>

    <CURNCYID>Z-C$</CURNCYID>

    <CURRNIDX>1008</CURRNIDX>

    <EXPNDATE>2022-04-01</EXPNDATE>

    <PYMTTYPE>6</PYMTTYPE>

    <Action>1</Action>

    <PROCESSELECTRONICALLY>0</PROCESSELECTRONICALLY>

    </taCreateSopPaymentInsertRecord>

    Thanks
    Raj

  • Community Member Profile Picture
    on at
    RE: Econnect error while creating order

    Hello Mariano,

    Thank you for your valuable input. it was really great insight for dig in and to move further on resolving the issue.

    Regards,

    Praveen

  • Suggested answer
    Mariano Gomez Profile Picture
    26,225 on at
    RE: Econnect error while creating order

    If you are trying to integrate a payment to an order which happens to be in a currency other than functional, then they date associated with the payment document must be the same as the date of the order. If your order IS NOT a multicurrency order, then you must either remove any mappings to the taCreateSopPaymentInsertRecord XML node, or verify that you are using the right currency ID on the transaction.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans