541: --we are only concerned with the ordered and approved amount for now.
542:
543: PO_DOCUMENT_TOTALS_PVT.get_order_totals(
544: p_doc_type => PO_DOCUMENT_TOTALS_PVT.g_doc_type_PO,
545: p_doc_subtype => PO_DOCUMENT_TOTALS_PVT.g_doc_subtype_STANDARD,
546: p_doc_level => PO_DOCUMENT_TOTALS_PVT.g_doc_level_HEADER,
547: p_doc_level_id => p_po_header_id,
548: x_quantity_total => l_quantity_total,
549: x_amount_total => l_amount_total,