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

Announcements

News and Announcements icon
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
    Microsoft Employee 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
    159 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
    101,995 Super User 2026 Season 1 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
    101,995 Super User 2026 Season 1 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,119 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,522 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,177 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans