DBA Data[Home] [Help]

APPS.JAI_AP_STND_TAX_PROCESS dependencies on JAI_AP_STND_TAX_PROCESS

Line 1: PACKAGE BODY JAI_AP_STND_TAX_PROCESS AS

1: PACKAGE BODY JAI_AP_STND_TAX_PROCESS AS
2: --$Header: jaiapprcb.pls 120.35.12020000.8 2013/03/18 05:59:30 zxin ship $
3: --|+======================================================================+
4: --| Copyright (c) 2007 Oracle Corporation Redwood Shores, California, USA |
5: --| All rights reserved. |

Line 8: --| JAI_AP_STND_TAX_PROCESS.plb |

4: --| Copyright (c) 2007 Oracle Corporation Redwood Shores, California, USA |
5: --| All rights reserved. |
6: --+=======================================================================+
7: --| FILENAME |
8: --| JAI_AP_STND_TAX_PROCESS.plb |
9: --| |
10: --| DESCRIPTION |
11: --| This package offer funcitons to calculate tax amount and creat |
12: --| tax lines. Also it provide the tax modification and delete |

Line 3162: lv_tax_type := jai_ap_stnd_tax_process.get_tax_type

3158: Continue;
3159: END IF;
3160: ----------------------------------------------------------------------
3161: -- Added by Qiong for reverse charge bug#16001407
3162: lv_tax_type := jai_ap_stnd_tax_process.get_tax_type
3163: ( pv_modvat_flag => r_jai_cmn_document_taxes.modvat_flag,
3164: pn_cr_percentage => tax_rec.mod_cr_percentage
3165: );
3166: ln_dist_acct_ccid :=

Line 3167: jai_ap_stnd_tax_process.get_dist_account_ccid

3163: ( pv_modvat_flag => r_jai_cmn_document_taxes.modvat_flag,
3164: pn_cr_percentage => tax_rec.mod_cr_percentage
3165: );
3166: ln_dist_acct_ccid :=
3167: jai_ap_stnd_tax_process.get_dist_account_ccid
3168: ( pn_invoice_id => pn_invoice_id,
3169: pn_item_line_number => pn_line_number,
3170: pn_organization_id => pn_org_id,
3171: pn_location_id => pn_location_id,

Line 3191: lv_account_type := jai_ap_stnd_tax_process.get_gl_account_type (ln_dist_acct_ccid);

3187: IF (lv_assets_tracking_flag = 'N')
3188: THEN
3189: ln_chargeble_acct_ccid :=NULL;
3190: ELSE
3191: lv_account_type := jai_ap_stnd_tax_process.get_gl_account_type (ln_dist_acct_ccid);
3192:
3193: IF lv_account_type ='A'
3194: THEN
3195: ln_chargeble_acct_ccid := ln_dist_acct_ccid;

Line 3259: --Reason :Issue is with the JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes:

3255: -- 4 03-Feb-2010 JMEENA for bug 9237446
3256: -- Added cursor cur_credit_memo_check to check if the invoice is TDS Credit memo then service tax should not be defaulted.
3257: --vkaranam for bug#10044104
3258: --Issue:SERVICE TAX NOT GET REVERSED WHEN AP INVOICE IS CANCELLED
3259: --Reason :Issue is with the JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes:
3260: --
3261: --FOR diff_inv_lines_rec IN diff_inv_lines_cur
3262: -- LOOP
3263:

Line 3967: jai_cmn_utils_pkg.WRITE_FND_LOG_MSG('JAI.PLSQL.JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes', 'ELSE ...');

3963: ELSE -- (Validate_Item_Dist_Lines not passed or Validate_3rd_party_cm_Invoice(ln_std_invoice_id) passed)
3964:
3965: --insert into eric_log values ( 1.20,'Error : Item_Dist_Lines_not_Validated or 3rd_party_cm_Invoice_validated',sysdate);
3966: -- code ported from BL12.1.3 by zhiwei.xin on 15-MAR-2013 begin
3967: jai_cmn_utils_pkg.WRITE_FND_LOG_MSG('JAI.PLSQL.JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes', 'ELSE ...');
3968: --Added by Chong for ZX investigation 20120816 start
3969: ---------------------------------------------------------------------------
3970: FOR diff_inv_lines_rec IN diff_inv_lines_cur
3971: LOOP

Line 4039: fnd_message.set_token ('MSG_TEXT', 'Encountered the error in JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes: ' || substr(SQLERRM,1,1900));

4035: --ROLLBACK; --Commented by Chong for ZX investigation 20120816
4036: --If unexcepted error here, we should raise error to AP workbench and display error message.
4037: --Added by Chong for ZX investigation 20120816 start
4038: fnd_message.set_name ('JA','JAI_GENERIC_MSG');
4039: fnd_message.set_token ('MSG_TEXT', 'Encountered the error in JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes: ' || substr(SQLERRM,1,1900));
4040: jai_cmn_utils_pkg.WRITE_FND_LOG_MSG('JAI.PLSQL.JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes', substr(SQLERRM,1,1900));
4041: app_exception.raise_exception;
4042: --Added by Chong for ZX investigation 20120816 end
4043: -- code ported from BL12.1.3 by zhiwei.xin on 15-MAR-2013 end.

Line 4040: jai_cmn_utils_pkg.WRITE_FND_LOG_MSG('JAI.PLSQL.JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes', substr(SQLERRM,1,1900));

4036: --If unexcepted error here, we should raise error to AP workbench and display error message.
4037: --Added by Chong for ZX investigation 20120816 start
4038: fnd_message.set_name ('JA','JAI_GENERIC_MSG');
4039: fnd_message.set_token ('MSG_TEXT', 'Encountered the error in JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes: ' || substr(SQLERRM,1,1900));
4040: jai_cmn_utils_pkg.WRITE_FND_LOG_MSG('JAI.PLSQL.JAI_AP_STND_TAX_PROCESS.Populate_Stnd_Inv_Taxes', substr(SQLERRM,1,1900));
4041: app_exception.raise_exception;
4042: --Added by Chong for ZX investigation 20120816 end
4043: -- code ported from BL12.1.3 by zhiwei.xin on 15-MAR-2013 end.
4044: END Populate_Stnd_Inv_Taxes;

Line 6704: END JAI_AP_STND_TAX_PROCESS;

6700: );
6701: END IF; --( ln_proc_level >= ln_dbg_level) ;
6702: RAISE;
6703: END Create_Tax_Lines;
6704: END JAI_AP_STND_TAX_PROCESS;
6705:
6706: