What's new in Customer Journeys?

Connect and learn more!
SQL to get both po with requisition and without requisition in a single query — Cloud Customer Connect
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

SQL to get both po with requisition and without requisition in a single query

Question
18
Views
0
Comments

Hi All ,

I need a query to get SQL to get both PO with requisition and without requisition in a single query and the columns I am trying to fetch are below mentioned query. Mainly I need PO number, PO requestor name, and requisitioner name. Please help me with this issue. I am using the below query but I know it's wrong. Any help is appreciated. Thanks

SELECT DISTINCT PHA.SEGMENT1,

PPNF.FULL_NAME   REQ_NAME,

PPNF1.FULL_NAME   PREP_NAME,

PHA.PO_HEADER_ID,

PLA.PO_LINE_ID,

PDA.PO_DISTRIBUTION_ID,

PDA.CODE_COMBINATION_ID 

-- REQUISITION_NUMBER

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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