web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Set Status field of Purchase Order to editable

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

I have the same question (0)
  • Marco Mels Profile Picture
    on at

    Hello,

    There are out of the box approval workflows that do this job for you on your behalf.

    Thank you.

  • Suggested answer
    DAnny3211 Profile Picture
    11,403 Super User 2026 Season 1 on at

    Hi

    have you tried in the power automate flow when a record is approved to retrieve the row with the ROW ID with the Update Row (V2) block and update in the status field? it should work

    IF YES ->SEND an EMAIL -> Update record (V2)

    pastedimage1665387149480v1.png

    pastedimage1665387213015v2.png

  • Suggested answer
    YUN ZHU Profile Picture
    97,376 Super User 2026 Season 1 on at

    Hi, As far as I know this field cannot be modified directly, you may need to call the standard method.

    "Release Sales Document".PerformManualRelease(Rec);

    pastedimage1665388879905v1.png

    PS: How to run AL procedure in Power Automate (Add custom execute actions)

    https://yzhums.com/20111/

    Hope this helps.

    Thanks.

    ZHU

  • ankhbileg01 Profile Picture
    5 on at

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

    I've used Update record V3

  • Suggested answer
    DAnny3211 Profile Picture
    11,403 Super User 2026 Season 1 on at

    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

  • Suggested answer
    Nitin Verma Profile Picture
    21,748 Moderator on at

    Thanks Great information.

  • ankhbileg01 Profile Picture
    5 on at

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

    pastedimage1665544498168v2.png

    pastedimage1665544517842v3.png

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hallo,

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

    Thank you.

  • ankhbileg01 Profile Picture
    5 on at

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

  • Suggested answer
    Marco Mels Profile Picture
    on at

    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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. OussamaSabbouh 2,042 Super User 2026 Season 1

#2
Dhiren Nagar Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Dhiren Nagar 1,077 Super User 2026 Season 1

#3
YUN ZHU Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. YUN ZHU 1,068 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans