Skip to main content

Notifications

Community site session details

Community site session details

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

The restriction was imposed by the workflow. Approval Entries Status is Approved but Order Status still in Pending Approval.

(1) ShareShare
ReportReport
Posted on by 247

Hi Expert, 

I had been setup the workflow approval for Sales Quote using workflow user group.

All the while working well,

originally there was 2 approver in the workflow user group and now I added additional 2 approver and 4 users Sequence No. is 1

After added 2 users I went to approved the previous Sales Quote, and then the approval Entries status is approved but Sales Quote status still pending approval.

"Record Restriction Mgt."(CodeUnit 1550).CheckRecordHasUsageRestrictions line 21 - Base Application by Microsoft
"Record Restriction Mgt."(CodeUnit 1550).SalesHeaderCheckSalesPostRestrictions line 2 - Base Application by Microsoft
"Sales Header"(Table 36).OnCheckSalesPostRestrictions line 2 - Base Application by Microsoft
"Sales Header"(Table 36).CheckSalesPostRestrictions line 2 - Base Application by Microsoft
"Sales-Quote to Order"(CodeUnit 86).OnRun(Trigger) line 15 - Base Application by Microsoft
"Sales-Quote to Order (Yes/No)"(CodeUnit 83).OnRun(Trigger) line 14 - Base Application by Microsoft
"Sales Quote"(Page 41)."MakeOrder - OnAction"(Trigger) line 5 - Base Application by Microsoft

pastedimage1631159075685v1.png

pastedimage1631159094873v2.png

pastedimage1631159481116v3.png

pastedimage1631159498601v4.png

pastedimage1631159543932v5.png

Seek for your advice.

Regard, 

Wei Ching

  • Suggested answer
    S.Kawamura Profile Picture
    1,524 on at
    RE: The restriction was imposed by the workflow. Approval Entries Status is Approved but Order Status still in Pending Approval.

    Hi, Wei Ching

    I faced similar situation 3 years ago.
    Below setting would be fine.
    pastedimage1631187271230v1.png

    My understanding of your requirement.
     - Any 4 person can approve Sales Quote.
     - Only 1 person's approval is needed to release the Sales Quote.

    My understanding of NAV/BC logic
     - 4 approval request entries will be created when you click approval request button which workflow has related to workflow user group that has 4 members.
     - The number of pending approval is 4 when you clicked approval request.
     - The number of pending approval will be decreased when 1 approver approved.
     - Anyone of 4 approver can be the 1st approver if all the member's Sequence No.is 1.
     - So "on condition" should be as image above, because the number of pending approvals is 3 just after 1st approver approved

    Regards,

  • Suggested answer
    JAngle Profile Picture
    95 on at
    RE: The restriction was imposed by the workflow. Approval Entries Status is Approved but Order Status still in Pending Approval.

    4 users in the group all at sequence one means they must all approve. Approval request just goes to them all at the same time. Have all 4 approved? If not then they must based on your current setup.

  • weiching Profile Picture
    247 on at
    RE: The restriction was imposed by the workflow. Approval Entries Status is Approved but Order Status still in Pending Approval.

    Hi Josh,

    I would to have either 1 to approve, when I added additional 2 users then the order required at least 3 users to approval in order to become release.

  • Suggested answer
    JAngle Profile Picture
    95 on at
    RE: The restriction was imposed by the workflow. Approval Entries Status is Approved but Order Status still in Pending Approval.

    So all the approval entries are approved or just one? I assume you changed the sequence as you want a 1st to respond type format of the approval? Personally I think a power automate flow does this better as you can choose that as a flow type.

    A workaround in BC approvals which seems a little clunky would be as below. Still much more in favour of the Power Automate option though:

    2DCD1449_2D00_4417_2D00_4EBF_2D00_93D3_2D00_7CA139001BB6.jpeg

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

Announcing the Engage with the Community forum!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 953

#2
YUN ZHU Profile Picture

YUN ZHU 848 Super User 2025 Season 1

#3
Mansi Soni Profile Picture

Mansi Soni 602

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans