how to query (SQL) the billed and unbilled receipts
trying to find the query (SQL) to bring all the Receipts processed successfully against the PO. for the received quantities that are billed and unbilled in 2 separate queries.
successfully lined PO_LINE_LOCATIONS_INQ_V, po_headers_all, PO_DISTRIBUTIONS_all but unable to link them with received quantities (Receipts).
appreciate if some one has done this before and can share the ideas.