1: PACKAGE BODY POS_ASN_NOTIF AS
2: /* $Header: POSASNNB.pls 120.5 2006/08/14 17:47:57 jbalakri noship $ */
3:
4: TYPE AsnBuyerArray IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
5:
256: wf_engine.SetItemAttrText (
257: itemtype => l_item_type,
258: itemkey => l_item_key,
259: aname => 'ASN_INFO',
260: avalue => 'PLSQLCLOB:POS_ASN_NOTIF.GENERATE_ASN_BODY/'
261: || x_shipment_num || '*%$*' || to_char(asn_buyers(x_curr_buyer))
262: ||'%'||to_char(x_vendor_id)||'#'||to_char(x_vendor_site_id)
263: );
264:
467: );
468:
469: --x_display_type := 'text/html';
470:
471: l_document1 := '' ||fnd_message.get_string('POS', 'POS_ASN_NOTIF_DETAILS') ||
472: '
' || 479: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SUPP_NAME') || ' | ' ;' || 481: x_vendor_name || ' | ' ;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
' || 486: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIPMENT_NUM') || ' | ' ;' || 488: x_shipment_num || ' | ' ;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
' || 493: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIPMENT_DATE') || ' | ' ;' || 495: x_shipped_date_ts || ' | ' ;||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
' || 500: fnd_message.get_string('POS', 'POS_ASN_NOTIF_EXPT_RCPT_DATE') || ' | ';' || 502: x_expected_receipt_ts || ' | ' ;
' || 534: fnd_message.get_string('POS', 'POS_ASN_NOTIF_INVOICE_NUMBER') || ' | ' ;' || 536: x_invoice_num || ' | ' ;||||||||||||||||||||||||||||||||||||||||||||||||||||||
' || 541: fnd_message.get_string('POS', 'POS_ASN_NOTIF_INVOICE_AMOUNT') || ' | ' ;' || 543: x_total_invoice_amount || ' | ' ;||||||||||||||||||||||||||||||||||||||||||||||||||||||
' || 548: fnd_message.get_string('POS', 'POS_ASN_NOTIF_INVOICE_DATE') || ' | ' ;' || 550: x_invoice_date || ' | ' ;||||||||||||||||||||||||||||||||||||||||||||||||||||||
' || 555: fnd_message.get_string('POS', 'POS_ASN_NOTIF_TAX_AMOUNT') || ' | ' ;' || 557: x_tax_amount || ' | ' ;
' || 814: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SUPP_NAME') || ' | ' ;' || h_vendor_name || ' | ' ;
' || 820: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIPMENT_NUM') || ' | ' ;' || h_shipment_num || ' | ' ;
' || 826: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIPMENT_DATE') || ' | ' ;' || h_shipped_date || ' | ' ;
' || 832: fnd_message.get_string('POS', 'POS_ASN_NOTIF_EXPT_RCPT_DATE') || ' | ';' || h_expected_receipt_date || ' | ' ;
838:
839: IF (h_asn_type = 'ASBN') THEN
840:
841: l_document := l_document || ''||
842: fnd_message.get_string('POS', 'POS_ASN_NOTIF_BILL_INFO') ||'
' || 848: fnd_message.get_string('POS', 'POS_ASN_NOTIF_INVOICE_NUMBER') || ' | ' ;' || 850: h_invoice_num || ' | ' ;||||||||||||||||||||||||||||||||
' || 855: fnd_message.get_string('POS', 'POS_ASN_NOTIF_INVOICE_AMOUNT') || ' | ' ;' || 857: h_total_invoice_amount || ' | ' ;||||||||||||||||||||||||||||||||
' || 862: fnd_message.get_string('POS', 'POS_ASN_NOTIF_INVOICE_DATE') || ' | ' ;' || h_invoice_date || ' | ||||||||||||||||||||||||||||||||
' ||Line 867: fnd_message.get_string('POS', 'POS_ASN_NOTIF_TAX_AMOUNT') || ' | ' ;' || h_invoice_date || ' | ||||||||||||||||||||||||||||||||
' || 867: fnd_message.get_string('POS', 'POS_ASN_NOTIF_TAX_AMOUNT') || ' | ' ;' || h_tax_amount || ' | ' ;||||||||||||||||||||||||||||||||
' || 876: fnd_message.get_string('POS', 'POS_ASN_NOTIF_REMIT_NAME') || ' | ' ;' || l_remit_to_site_code || ' | ||||||||||||||||||||||||||||||||
' || 882: fnd_message.get_string('POS', 'POS_ASN_NOTIF_REMIT_ADDR') || ' | ' ;' || l_remit_to_address1 || ' |
' || 954: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ORDER_NUMBER') || ' | ' || NL;' || 957: fnd_message.get_string('POS', 'POS_ASN_NOTIF_REVISION_NUMBER') || ' | ' || NL;' || 954: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ORDER_NUMBER') || ' | ' || NL;' || 957: fnd_message.get_string('POS', 'POS_ASN_NOTIF_REVISION_NUMBER') || ' | ' || NL;' || 960: fnd_message.get_string('POS', 'POS_ASN_NOTIF_LINE_NUM') || ' | ' || NL;' || 957: fnd_message.get_string('POS', 'POS_ASN_NOTIF_REVISION_NUMBER') || ' | ' || NL;' || 960: fnd_message.get_string('POS', 'POS_ASN_NOTIF_LINE_NUM') || ' | ' || NL;' || 963: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_NUM') || ' | ' || NL;' || 960: fnd_message.get_string('POS', 'POS_ASN_NOTIF_LINE_NUM') || ' | ' || NL;' || 963: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_NUM') || ' | ' || NL;' || 966: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ITEM') || ' | ' || NL;' || 963: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_NUM') || ' | ' || NL;' || 966: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ITEM') || ' | ' || NL;' || 969: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ITEM_DESC') || ' | ' || NL;' || 966: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ITEM') || ' | ' || NL;' || 969: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ITEM_DESC') || ' | ' || NL;' || 972: fnd_message.get_string('POS', 'POS_ASN_NOTIF_UOM') || ' | ' || NL;' || 969: fnd_message.get_string('POS', 'POS_ASN_NOTIF_ITEM_DESC') || ' | ' || NL;' || 972: fnd_message.get_string('POS', 'POS_ASN_NOTIF_UOM') || ' | ' || NL;' || 975: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_ORD') || ' | ' || NL;' || 972: fnd_message.get_string('POS', 'POS_ASN_NOTIF_UOM') || ' | ' || NL;' || 975: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_ORD') || ' | ' || NL;' || 978: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_SHIP') || ' | ' || NL;' || 975: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_ORD') || ' | ' || NL;' || 978: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_SHIP') || ' | ' || NL;' || 981: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_RCVD') || ' | ' || NL;' || 978: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_SHIP') || ' | ' || NL;' || 981: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_RCVD') || ' | ' || NL;' || 984: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_TO') || ' | ' || NL;' || 981: fnd_message.get_string('POS','POS_ASN_NOTIF_QUANTITY_RCVD') || ' | ' || NL;' || 984: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_TO') || ' | ' || NL;' || 987: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_TO_ORG') || ' | ' || NL;' || 984: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_TO') || ' | ' || NL;' || 987: fnd_message.get_string('POS', 'POS_ASN_NOTIF_SHIP_TO_ORG') || ' | ' || NL;
---|