DBA Data[Home] [Help]

APPS.JAI_PO_HOOK_PKG dependencies on JAI_PO_HOOK_PKG

Line 1: PACKAGE BODY JAI_PO_HOOK_PKG AS

1: PACKAGE BODY JAI_PO_HOOK_PKG AS
2: /* $Header: jai_po_hook_pkg.plb 120.15 2008/01/21 11:27:20 ssumaith noship $ */
3: /*----------------------------------------------------------------------------------------------------------------------
4: CHANGE HISTORY: FILENAME: jai_po_hook_pkg.plb
5: S.No Date Author and Details

Line 2: /* $Header: jai_po_hook_pkg.plb 120.15 2008/01/21 11:27:20 ssumaith noship $ */

1: PACKAGE BODY JAI_PO_HOOK_PKG AS
2: /* $Header: jai_po_hook_pkg.plb 120.15 2008/01/21 11:27:20 ssumaith noship $ */
3: /*----------------------------------------------------------------------------------------------------------------------
4: CHANGE HISTORY: FILENAME: jai_po_hook_pkg.plb
5: S.No Date Author and Details
6: ------------------------------------------------------------------------------------------------------------------------

Line 4: CHANGE HISTORY: FILENAME: jai_po_hook_pkg.plb

1: PACKAGE BODY JAI_PO_HOOK_PKG AS
2: /* $Header: jai_po_hook_pkg.plb 120.15 2008/01/21 11:27:20 ssumaith noship $ */
3: /*----------------------------------------------------------------------------------------------------------------------
4: CHANGE HISTORY: FILENAME: jai_po_hook_pkg.plb
5: S.No Date Author and Details
6: ------------------------------------------------------------------------------------------------------------------------
7: 1 18/04/2007 rchandan for bug#5961325, File Version 115.17
8: Issue: If the ASBN line is in foreign currency and the tax is in INR, the tax calculation

Line 961: JAI_PO_HOOK_PKG.populate_cmn_taxes(r_txns.PO_HEADER_ID,

957: r_txns.CUR_CODE,
958: nvl(r_txns.PO_UNIT_PRICE, r_line_locations.price_override)); --,
959: -- r_txns.UOM_CODE);
960:
961: JAI_PO_HOOK_PKG.populate_cmn_taxes(r_txns.PO_HEADER_ID,
962: r_txns.PO_LINE_LOCATION_ID,
963: r_txns.HEADER_INTERFACE_ID,
964: ln_cmn_line_id,
965: r_txns.QUANTITY,

Line 970: JAI_PO_HOOK_PKG.calc_taxes('ASBN',r_txns.HEADER_INTERFACE_ID,ln_cmn_line_id,lv_errbuf,lv_retcode);

966: r_txns.TOT_QUANTITY);
967:
968: -- following call added by ssumaith - bug#3637364
969: -- it was done so that the taxes are re-calculated after the insert is done
970: JAI_PO_HOOK_PKG.calc_taxes('ASBN',r_txns.HEADER_INTERFACE_ID,ln_cmn_line_id,lv_errbuf,lv_retcode);
971:
972: END LOOP;
973: errbuf := NULL;
974: RetCode := '0';

Line 1002: JAI_PO_HOOK_PKG.POPULATE_CMN_LINES(r_hdr.header_interface_id,NULL,NULL,lv_errbuf,lv_retcode);

998: e2 exception;
999: BEGIN
1000: For r_hdr in c_hdr_intf(p_hdr_intf_id)
1001: Loop
1002: JAI_PO_HOOK_PKG.POPULATE_CMN_LINES(r_hdr.header_interface_id,NULL,NULL,lv_errbuf,lv_retcode);
1003: IF lv_retcode <> '0' THEN
1004: raise e1;
1005: END IF;
1006: --IF r_hdr.asn_type = 'ASBN' THEN

Line 1007: JAI_PO_HOOK_PKG.UPDATE_ASBN_MODE(r_hdr.shipment_num,'PENDING',lv_errbuf1,lv_retcode1);

1003: IF lv_retcode <> '0' THEN
1004: raise e1;
1005: END IF;
1006: --IF r_hdr.asn_type = 'ASBN' THEN
1007: JAI_PO_HOOK_PKG.UPDATE_ASBN_MODE(r_hdr.shipment_num,'PENDING',lv_errbuf1,lv_retcode1);
1008: --end if;
1009: IF lv_retcode1 <> '0' THEN
1010: raise e2;
1011: END IF;

Line 3014: END JAI_PO_HOOK_PKG;

3010: END IF; -- (FND_LOG.LEVEL_UNEXPECTED >= FND_LOG.G_CURRENT_RUNTIME_LEVEL)
3011: RETURN (-1);
3012: END Get_Isp_InAndEx_Tax_Total;
3013:
3014: END JAI_PO_HOOK_PKG;