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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Where is Purchase Requisition.Approval Amount

(4) ShareShare
ReportReport
Posted on by 1,266
In the purchase requisition workflow, there has a field "Purchase Requisition.Approval Amount" to be selected as conditional.
 
However, i cannot find this field in PurchReqTable and PurchReqLine.
 
BTW, which table is used for [Totals] fly-out form
 
 
 
 
Categories:
I have the same question (0)
  • Suggested answer
    Adis Profile Picture
    6,080 Super User 2025 Season 2 on at
    Hi,
     
    Its a condition that sets the workflow approval to approved or rejected, depending if the condition is met or not. However, I dont think you can see the condition. You may see it under organisation administration workflow history and then selecting the workflow, once its submitted.
     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,421 Super User 2025 Season 2 on at
    Hi J Lee,
     
    On the workflow class for the purchase requisition the approval amount is a virtual field managed with a method using X++ coding. 
  • JF-11061402-0 Profile Picture
    20 on at
    @André Arnaud de Calavon Hey. Could you explain a bit more about the X++ coding?

    I raised a PR for 91000 EUR and this failed the condition of Purchase Requisition.Approval Amount > 90,000 EUR. Do you know why this is? What is the calculation?
     
    I raised another PR for 95000 EUR and this passed the condition
  • Sohaib Cheema Profile Picture
    49,492 User Group Leader on at
     
    One logical reason for the condition to be skipped is if the purchase requisition purpose is of type Replenishment rather than Consumption, in which case the total would sum to zero in the workflow condition.
     
  • André Arnaud de Calavon Profile Picture
    301,421 Super User 2025 Season 2 on at
     
    Does the PR has the EUR as currency? Or did you calculate the foreign currency to EUR? Is 91000 including or excluding VAT? 
     
    You can find the X++ logic for the calculated field on the class for the PR workflow document.
  • JF-11061402-0 Profile Picture
    20 on at
     
    PR is in EUR currency (see totals below)
     
     
    Condition is here
     
  • Verified answer
    André Arnaud de Calavon Profile Picture
    301,421 Super User 2025 Season 2 on at
    Hi J Lee,
     
    You marked a reply as verified answer. Is your question fully answered?

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 679 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 429 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans