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...
Suggested Answer

New Update Version 26.3 - Approval Workflow for sales orders

(8) ShareShare
ReportReport
Posted on by 16
After new update of Business central Version 26.3, while enabled Calculate invoice discount in Sales & receivable setup,
if enabled workflow for sales order it went to approval but cannot release it.
This error will popup
 
I have just checked the code, this is due to after enable check invoice discount in sales & receivable setup, Calculate the invoice discount after setting status to pending approval but to update the invoice discount status should be in open mode.
I have the same question (0)
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,136 Super User 2025 Season 2 on at
    The error you're encountering is caused by the system trying to calculate the invoice discount after the document status is already set to Pending Approval. Since discount calculations require the Sales Order to be in Open status, this leads to a conflict — as shown in your error message.
     
    This behavior seems to be introduced or affected in version 26.3, and although it’s not officially documented by Microsoft as a known issue (at the time of writing), it’s consistent with how Business Central handles invoice discount calculations and approval workflows.
     
    Suggested Workaround:
     
    You may consider disabling the “Calculate Invoice Discount” setting temporarily, or
     
    Implement a workflow customization so that the discount is calculated before the document status changes to Pending Approval.
     
     
    If this behavior persists and disrupts operations, it’s best to raise it with your Microsoft Partner or support for further clarification or hotfix guidance.
     
     
    ✅ Mark this answer as verified if it helps you.
  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at
    I recommend that you submit this standards issue to Microsoft.
    More details:
    Dynamics 365 Business Central: Where to file bugs ,issues and Questions
     
    Thanks
    ZHU
  • Suggested answer
    Andrés Arias Profile Picture
    4,188 Super User 2025 Season 2 on at
    Hello,

    Could you please indicate if Canceling the order and relaunching it generates the same error?
     
    I hope I can help.
     
    Regards,
     
    Andres
  • Suggested answer
    Mansi Soni Profile Picture
    8,907 Super User 2025 Season 2 on at
    Hello,

    You can submit this issue to Microsoft or raise a support ticket to Microsoft via Microsoft Admin Center or your partner portal, referencing this issue and suggesting that the invoice discount calculation should occur before the status changes to Pending Approval. Include reproduction steps, screenshots, and version details to help Microsoft escalate and resolve the issue in a future hotfix or cumulative update.

    Hope this answer will help you!

    Regards,
    Mansi Soni
     
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,631 Super User 2025 Season 2 on at
    Hello,
     
    By enabling the "Calculate Invoice Discount" option in Sales & Receivables Setup causes a conflict with the sales order approval workflow—when a sales order is sent for approval, its status changes to "Pending Approval," but invoice discount calculation requires the status to be "Open," resulting in the error.
     
    This issue can be resolved by adjusting workflow logic, disabling the discount calculation temporarily, or raising a support ticket with Microsoft.
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at
    It is a known issue and Microsoft is working on it. 
  • Suggested answer
    Dynamics_Decoded_Gokul Profile Picture
    451 on at
    You can apply the following code in a Sales Header Release Event Subscriber to bypass the error temporarily:


     

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans