587: -- Global Agreements: Correct Currency/Rate info ==========================
588:
589: --
590: --
591: IF ( PO_GA_PVT.is_global_agreement( p_source_document_header_id ) ) THEN
592:
593: PO_GA_PVT.get_currency_info( p_source_document_header_id ,
594: x_currency_code ,
595: x_rate_type ,
589: --
590: --
591: IF ( PO_GA_PVT.is_global_agreement( p_source_document_header_id ) ) THEN
592:
593: PO_GA_PVT.get_currency_info( p_source_document_header_id ,
594: x_currency_code ,
595: x_rate_type ,
596: x_rate_date ,
597: x_rate );
608: -- Call Advanced Pricing for global Blanket purchase agreements
609: -- Do not call Advanced Pricing for Blanket Purchase agreements and quotations
610:
611: IF (l_source_document_type = 'BLANKET'
612: AND PO_GA_PVT.is_global_agreement(p_source_document_header_id)) THEN
613:
614: IF (PO_ADVANCED_PRICE_PVT.is_valid_qp_line_type(p_line_type_id)) THEN
615:
616: l_progress := '305';