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 :
Small and medium business | Business Central, N...
Suggested Answer

Posting Date and Document date is Same while pushing purchase invoice using web services

(1) ShareShare
ReportReport
Posted on by 42

Hi All,

I am facing some issues related to posting date and document date while inserting records in purchase or sales invoices using page web services.

In request, I am taking the posting date and document date with different values but BC always takes value the same as the Posting date.

Is anything I am missing? I have tried both the way by passing the Posting date first and vice versa.

Errpr.png

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    try use this url

    pastedimage1666705345516v1.png

    learn.microsoft.com/.../dynamics_purchaseinvoice_create

    DAniele

  • Suggested answer
    Dallefeld Profile Picture
    211 User Group Leader on at

    If I'm not mistaken when you change the document date, you change the posting date. Change your code putting document date first and posting date second....see if that works.

  • Mohd Anas Profile Picture
    42 on at

    Thank you for your reply. But I am using page web services for this integration. You are suggesting using API. I know it will work with API but the question is why this is happening in page services. Is there anything I am missing? This service is working in Nav 2016 as expected.

  • Mohd Anas Profile Picture
    42 on at

    Hi

    I have tried both option still no luck

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans