Skip to main content

Notifications

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

  • Mohd Anas Profile Picture
    42 on at
    RE: Posting Date and Document date is Same while pushing purchase invoice using web services

    Hi

    I have tried both option still no luck

  • Mohd Anas Profile Picture
    42 on at
    RE: Posting Date and Document date is Same while pushing purchase invoice using web services

    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.

  • Suggested answer
    Dallefeld Profile Picture
    175 User Group Leader on at
    RE: Posting Date and Document date is Same while pushing purchase invoice using web services

    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.

  • Suggested answer
    DAnny3211 Profile Picture
    9,276 Moderator on at
    RE: Posting Date and Document date is Same while pushing purchase invoice using web services

    hi

    try use this url

    pastedimage1666705345516v1.png

    learn.microsoft.com/.../dynamics_purchaseinvoice_create

    DAniele

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,110 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans