Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Set Status field of Purchase Order to editable

Posted on by 5

Hello I'm trying to create approval workflow using Power Automate. After approved it needs to change Status of Purchase order. I have no issue in updating other field, but  Status field is read only  and giving me error. How to set status field editable ?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    RE: Set Status field of Purchase Order to editable

    Hi, just adding some info.

    Microsoft Power Automate template (For example, Request approval for sales order)

    https://yzhums.com/8295/

    Hope this can give you some hints.

    Thanks.

    ZHU

  • Suggested answer
    Dallefeld Profile Picture
    Dallefeld 11,425 User Group Leader on at
    RE: Set Status field of Purchase Order to editable

    For my two cents I think manually changing the status on purchase orders in our sales orders is a bad idea. There are functions within the system that are supposed to happen that will change that status it is a control point and it’s just not a good thing to make that field editable so that it can be changed by users or other processes

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Set Status field of Purchase Order to editable

    Hello,

    Instead of Create a flow, you should use Manage Flows. You can then use a template, search Business Central and choose "Request approval for Dynamics 365 Business Central purchase order".

    This will give you same experience as the others here have including me as I just tested the scenario.

    Hope it helps.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Set Status field of Purchase Order to editable

    Hello,

    Okay, when I am in the office again (tomorrow, w. europe standard time), I will setup a new CDX environment and try the scenario myself. As soon as I have a result, I will let you know.

    Thank you.

  • ankhbileg01 Profile Picture
    ankhbileg01 5 on at
    RE: Set Status field of Purchase Order to editable

    This is fresh new database just created from CDX. I didn't install any extension, or data

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Set Status field of Purchase Order to editable

    Hallo,

    Are you able to reproduce this error in a standard unmodified database without any extensions?

    Thank you.

  • ankhbileg01 Profile Picture
    ankhbileg01 5 on at
    RE: Set Status field of Purchase Order to editable

    I tried exactly same, but it gives me an error.

    pastedimage1665544498168v2.png

    pastedimage1665544517842v3.png

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Set Status field of Purchase Order to editable

    Thanks Great information.

  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,272 Super User 2024 Season 1 on at
    RE: Set Status field of Purchase Order to editable

    hi

    I ran a test on my sandbox, setting up an approval flow with Power automate

    pastedimage1665410146037v1.png

    the flow that is created if successful already sets the Status field to Released on the Sales Order

    pastedimage1665410209615v2.png

    My Example:

    pastedimage1665410306220v3.png

    pastedimage1665410334919v4.png

    pastedimage1665410380629v5.png

    pastedimage1665410427607v6.png

    pastedimage1665410480076v7.png

    as you can see, my Status field was modified without my adding a line of code

    DAniele Incalza

  • ankhbileg01 Profile Picture
    ankhbileg01 5 on at
    RE: Set Status field of Purchase Order to editable

    Yes, I tried that method and this gives me an error. "Status field is read only".

    I've used Update record V3

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans