Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Possibility to avoid updating Purchase Order rows when updating date in Purchase order header (Business Central)

Posted on by 10

Hi,

We have a need to automatically update the expected Reciept date on purchase order header level from an API call. When doing so we find that the expected reciept date on all PO rows automatically get updated as well. When using the UI there is a prompt where you can choose to not update rows. But we don't have that option when calling the API.

Hence looking for a way to maybe change the default behaviour (to NOT update rows) or if anyone know how to control the behaviour via API.

Many thanks

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,746 Super User 2024 Season 1 on at
    RE: Possibility to avoid updating Purchase Order rows when updating date in Purchase order header (Business Central)

    You have two options as far as i can see. The first one is to create a custom API and program that so it gets the expected behavior when it comes to validating date fields.  The other one is to make an extension that controls the change of the receipt date field dependent of the user interface being used or not.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,900 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,275 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans