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

Community site session details

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

Shopify Converted Sales Order Status to Open instead of Released

(1) ShareShare
ReportReport
Posted on by 5

Once we convert the Shopify Order to BC Sales Order, order automatically gets released.

Is there any possibility that the order could be put into the open stage under BC sales order?BC_2D00_OrderStatus.png

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,979 Super User 2025 Season 2 on at
    RE: Shopify Converted Sales Order Status to Open instead of Released

    It can be achievable with the below code.

     [EventSubscriber(ObjectType::Codeunit, Codeunit::"Release Sales Document", 'OnBeforeReleaseSalesDoc', '', false, false)]

       local procedure OnBeforeReleaseSalesDoc(var SalesHeader: Record "Sales Header"; PreviewMode: Boolean; var IsHandled: Boolean; SkipCheckReleaseRestrictions: Boolean);

       begin

           if SalesHeader."Shpfy Order Id" <> 0 then

               IsHandled := true;

       end;

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,267

#2
Sumit Singh Profile Picture

Sumit Singh 2,098

#3
YUN ZHU Profile Picture

YUN ZHU 1,766 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans