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

Notifications

Announcements

No record found.

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!

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    on at

    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.

  • Suggested answer
    JAngle Profile Picture
    133 on at

    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.

  • Verified answer
    YUN ZHU Profile Picture
    95,712 Super User 2025 Season 2 on at

    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

  • Trinity365 Profile Picture
    on at

    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!

  • Suggested answer
    YUN ZHU Profile Picture
    95,712 Super User 2025 Season 2 on at

    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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans