SQL to get both po with requisition and without requisition in a single query
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
Tagged:
0