Skip to main content

Notifications

Announcements

No record found.

Business Central forum
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

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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,768 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,985 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans