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 pass vendor_id to the SQL used in DFF - Valueset Default value in Value set

How do I pass vendor_id from PO headers UI to the SQL query in Default value
Requirement is to display sum of total PO amount created for particular supplier in PO page while creating new PO.
Step1: Creating DFF
Step2:creating valueset with Default SQL as below query. I need to know how to add a condition as supplier selected in UI page.
Currenty i am using below code but it is showing blank value.
/* SELECT SUM (CASE WHEN pla.ORDER_TYPE_LOOKUP_CODE ='FIXED PRICE'
THEN list_price
ELSE pla.quantity*pla.unit_price
END)
FROM po_lines_all pla,

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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