Skip to main content

Notifications

Announcements

No record found.

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

"Variant Mandatory" check on Approval Request for Purchase Orders instead of on Release

(1) ShareShare
ReportReport
Posted on by 68
Hello,
 
We've noticed that when an item that has variants is added to a Purchase Order without a variant being specified, the system returns no error when the Purchase Order is sent for approval and the error only appears after all approvals are done.
 
Is it possible for the error to be raised when the PO is sent for approval so the purchaser can correct it immediately and before the PO goes through its approval cycle ?
Is a custom extension the only way here to add this functionality ?
 
Thank you,
Fares
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 25,463 Super User 2024 Season 2 on at
    "Variant Mandatory" check on Approval Request for Purchase Orders instead of on Release
    You can achieve this using workflows without customization like this: in your regular approval workflow, add a condition that the variant field in the purchase lines is not empty. This way, all orders with a variant code will go through this workflow.
     
    You can then create a second workflow with the condition that the variant code is empty, so all orders without a variant code will go here. The second workflow can be left empty except to show the user an error message stating that the order requires a variant code to submit it for approval. It wouldn't actually send the order through the approval process.
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,402 Super User 2024 Season 2 on at
    "Variant Mandatory" check on Approval Request for Purchase Orders instead of on Release
    Yes, I have tested it before. This control will be made when posting. If you want to meet your needs, it should also be judged when sending for approval. Unfortunately, it can only be customized at present.
    PS: Missing a feature? Post or vote for ideas on: aka.ms/BCIdeas
     
    Hope this helps.
    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,938 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,655 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans