Skip to main content
Business Central forum
Answered

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

editSubscribe (0) ShareShare
ReportReport
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

Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,714 Super User 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.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans