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 :
Microsoft Dynamics AX (Archived)

Workflow configuration for Procurement

(0) ShareShare
ReportReport
Posted on by

Hi

I have set up a workflow for purchase orders, specifying that if the change in the value of the PO (line or total) is greater that 10% (new value-last value on po), the po should be approved as per the hierarchy set up. However, if the change is less than 10%, the po does not need to be approved through the workflow.

In terms of control, a user can make several changes (of less that 10%)  to the PO value, resulting in a major change without any approval.

Is there a way to validate against the original value of the PO i.e. the cumulative change in the PO is validated against the parameter of 10%?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    49,443 User Group Leader on at

    Hi,

    standard workflow does not supports such conditions you have to create calculated field and that would appear as condition in your workflow.

    msdn.microsoft.com/.../cc592495.aspx

    You already have a document class for existing workflow so, you don't need to create another class. You can add your method in existing class

  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    Hi Tulsee,

    As far as I know it is not possible without customization.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at

    Hi Tulsee,

    Actually there are already some calculated fields on the purchase order approval workflow:

    - Delta invoice amount

    - Delta invoice amount percentage

    Also on the line workflow there are two calculated fields:

    - Delta net amount

    - Delta net amount percentage

    You can use these in a conditional step. So it is out of the box and no customization required. But be careful; the check is on the latest approved PO version. SO a user can increment the PO several times with small amounts...

    The word "invoice" in the field label and coding is misleading. It is actually evaluating the purchase order line amounts.

  • Community Member Profile Picture
    on at

    Hi

    I am not sure I understood the replies, can I use a calculated field to evaluate the total change i.e. final amount-original amount without doing a customisation?

    Regards

    Tulsee

  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at

    Hi Tulsee,

    You can indeed use standard calculated fields already available. See next screenshot.

    2016_2D00_05_2D00_22_5F00_21_2D00_38_2D00_17.png

  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    No, you can use delta fields to get difference between previous amount and current but user can change it slightly to stay each time under 10% and get auto approval. So you need to add new field that will show difference between current amount and original amount, however you have to decide what to take as original amount.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans