web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    MG-16101311-0 Profile Picture
    26,225 on at

    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.

  • Community Member Profile Picture
    on at

    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
    ronybanerjee_raj Profile Picture
    5 on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans