Need help in building a database query
Hello,
I need to build a database query considering the following :
1) There are categories used in Purchase Orders (PO's) and want to filter on SEGMENT 3 from MTL_CATEGORIES_B.
2) The category code (combination of SEGMENT1, SEGMENT2 and SEGMENT3) is mapped in PO_LINES_TABLE.
3) The PO status should be 'Open' at Line and Header Level.
4) The PO should be 'Standard' and 'Approved'.
5) The PO's which are incomplete, closed for receiving should not be considered.
Can anyone please help me ?
Thanks