586: /* Bug 979454 */
587:
588: l_po_amount := po_notifications_sv3.get_doc_total(l_doc_subtype, l_doc_id);
589:
590: l_po_amount_disp := TO_CHAR(l_po_amount,FND_CURRENCY.GET_FORMAT_MASK(
591: POHdr_rec.currency_code,30));
592:
593: wf_engine.SetItemAttrText ( itemtype => itemtype,
594: itemkey => itemkey,
612: from po_distributions
613: where po_header_id = POHdr_rec.po_header_id;
614: */
615:
616: fnd_currency.get_info( POHdr_rec.currency_code,
617: X_precision,
618: X_ext_precision,
619: X_min_acct_unit);
620:
649: END IF;
650:
651: /*End Bug# 3972475 */
652:
653: l_tax_amount_disp := TO_CHAR(l_tax_amount,FND_CURRENCY.GET_FORMAT_MASK(
654: POHdr_rec.currency_code,30));
655:
656: wf_engine.SetItemAttrText ( itemtype => itemtype,
657: itemkey => itemkey,
659: avalue => l_tax_amount_disp );
660:
661: l_total_amount := l_po_amount + l_tax_amount;
662:
663: l_total_amount_disp := TO_CHAR(l_total_amount,FND_CURRENCY.GET_FORMAT_MASK(
664: POHdr_rec.currency_code,30));
665:
666: wf_engine.SetItemAttrText ( itemtype => itemtype,
667: itemkey => itemkey,
884: aname => 'DOCUMENT_ID');
885:
886: l_po_amount := po_notifications_sv3.get_doc_total('RELEASE', l_doc_id);
887:
888: l_po_amount_disp := TO_CHAR(l_po_amount,FND_CURRENCY.GET_FORMAT_MASK(
889: RelHdr_rec.currency_code,30));
890:
891: wf_engine.SetItemAttrText ( itemtype => itemtype,
892: itemkey => itemkey,
911: from po_distributions
912: where po_release_id = RelHdr_rec.Po_Release_id;
913: */
914:
915: fnd_currency.get_info( RelHdr_rec.currency_code,
916: X_precision,
917: X_ext_precision,
918: X_min_acct_unit);
919:
948:
949: /*End Bug# 3972475 */
950:
951:
952: l_tax_amount_disp := TO_CHAR(l_tax_amount,FND_CURRENCY.GET_FORMAT_MASK(
953: RelHdr_rec.currency_code,30));
954:
955: wf_engine.SetItemAttrText ( itemtype => itemtype,
956: itemkey => itemkey,
959:
960: l_total_amount := l_po_amount + l_tax_amount;
961:
962:
963: l_total_amount_disp := TO_CHAR(l_total_amount,FND_CURRENCY.GET_FORMAT_MASK(
964: RelHdr_rec.currency_code,30));
965:
966: wf_engine.SetItemAttrText ( itemtype => itemtype,
967: itemkey => itemkey,