You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Summation Approval for multiple DFFs and total

edited Feb 26, 2024 11:58AM in Purchasing 2 comments

Summary: Business user wants to set the approval based on Multiple DFFs to be on top of the header total so for example The 1st DFF= 20$, 2nd DFF= 30$ 3rd DFF = 20$ and the PO total with VAT is = 30$ so the Total is 100$ and they want to have the Approval to be on the Summation of the DFFs and the total (100$) instead of the seeded Total (30$), I have tried to create an expression from BPM as follows but it's not working

"new BigDecimal(PurchasingDocumentHeader.attributeNumber1)+(PurchasingDocumentHeader.attributeNumber2)+(PurchasingDocumentHeader.attributeNumber3)" Same or more than "new BigDecimal(5000) "

Appreciate your assistance


*UPDATE

I Tried it on PO Total (30$) and One DFF(20$) and it worked fine, However whenever i add all the DFFs it seem to be stuck to the 2 conditions i defined earlier (30$+20$)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!