Skip to main content

Notifications

Community site session details

Community site session details

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

Using PowerApps Business Central Connectors not updating Sales Order status

(1) ShareShare
ReportReport
Posted on by

I want to Reopen a Sales Order in Business Central from PowerApps, so I m using following formula:

Patch('salesOrders (v2.0)',LookUp('salesOrders (v2.0)',number = _varSalesOrder.number),{status:"Open"});

It is not updating anything in the Business central, can anyone suggest what is the process outside Business central If I want to reopen Sales order and create shipments?

Thanks in advance!

  • Suggested answer
    YUN ZHU Profile Picture
    84,557 Super User 2025 Season 1 on at
    RE: Using PowerApps Business Central Connectors not updating Sales Order status

    Hi, yes, I think you need to create a new API page.

    More details about api page:

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-api-pagetype

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-develop-custom-api

    Or you can try the following, which is similar to the sample I provided:

    Creating and Interacting with an OData V4 Bound Action

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-creating-and-interacting-with-odatav4-bound-action

    Hope this will help.

    Thanks.

    ZHU

  • Trinity365 Profile Picture
    on at
    RE: Using PowerApps Business Central Connectors not updating Sales Order status

    Hi yzhums ,

    Thank you so much for your reply!

    The Video link that you shared is very informative but I am new to Business Central and AL development.

    I have few questions:

    Do I need to create new page as you showcased in that article to Release and Open sales order in BC? Creating new page will create new data model or API?

    Can you share any link for that if you have any reference, please?

    Sorry if I am asking very simple questions!

  • Verified answer
    YUN ZHU Profile Picture
    84,557 Super User 2025 Season 1 on at
    RE: Using PowerApps Business Central Connectors not updating Sales Order status

    Hi, as Josh mentioned, You should not modify the status field directly, you should use another method.

    It is recommended that you refer to the standard Release and Open code,  and then add custom execute actions.

    https://yzhums.com/20111/

    pastedimage1644797548918v1.png

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    JAngle Profile Picture
    95 on at
    RE: Using PowerApps Business Central Connectors not updating Sales Order status

    You have to play it differently. In the regular UI no one can just alter the status field without following a specific process. The BC connector doesn’t have an action for doing this. Would mean a development as the field in the api is read only.

  • Suggested answer
    Andy Sather Profile Picture
    on at
    RE: Using PowerApps Business Central Connectors not updating Sales Order status

    Hello,

    If you don't get further responses to this issue, you may want to raise a support request to Microsoft support via your CSP / Partner.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans