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
Get Started with Redwood: Oracle Cloud SCM and Purchasing

How to use Skip Rule in BPM approval?

Summary:

Auto reject if the amount of BPA/CPA exceeds the amount of the contract they are made from

Content (required):

For example, we want to auto reject if the amount of BPA/CPA exceeds the amount of the contract they are made from. How can I do that?

orcl:query-database(concat('select nvl(okh.AGREEMENT_AMT_LIMIT,0) amt from po_headers_all pha,OKC_K_HEADERS_ALL_B okh where 1=1 and pha.attribute5 = okh.contract_number and pha.po_header_id = ',/task:task/task :payload/ns0:findPurchasingDocumentHeaderResponse/ns0:result/ns7:PoHeaderId), true(), true(),'jdbc/ApplicationDBDS') >= /task:task/task:payload/ns0:findPurchasingDocumentHeaderResponse/ns0:result/ns7 :AgreementAmount

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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