DBA Data[Home] [Help]

APPS.JAI_OPEN_API_PKG dependencies on STANDARD

Line 854: ||This validation is only for 'Standard' event.

850: END validate_taxable_event;
851:
852: /*
853: ||Check the taxable basis should in 'LINE_AMOUNT' OR 'ASSESSABLE_VALUE'
854: ||This validation is only for 'Standard' event.
855: */
856: PROCEDURE validate_taxable_basis(
857: pr_interface_lines IN JAI_INTERFACE_LINES_ALL%ROWTYPE,
858: xn_err_flag IN OUT NOCOPY NUMBER

Line 2303: lv_error_mess := 'JAI_PRECEDENCE_INVALID';--'Invalid tax precedence for Standard event';

2299: OR NVL(ln_line_count,0) < NVL(pr_tax_lines.precedence_10,0)
2300: )THEN
2301: xn_err_flag := 1;
2302: lv_return_mess := 'VALIDATION in validate_tax_precedence : Tax precedence is larger than tax line count With interface_tax_line_id:'||pr_tax_lines.interface_tax_line_id;
2303: lv_error_mess := 'JAI_PRECEDENCE_INVALID';--'Invalid tax precedence for Standard event';
2304: log_error(
2305: pv_err_level => GV_ERROR_TYPE_TAX,
2306: pn_line_id => pn_interface_line_id,
2307: pn_source_line_id => pr_tax_lines.interface_tax_line_id,

Line 6617: || Update ar refernece field for Standard Event.

6613: END IF; -- v_organization_id <> -1
6614: END;
6615:
6616: /*
6617: || Update ar refernece field for Standard Event.
6618: */
6619: PROCEDURE update_ar_reference(
6620: ov_retcode OUT NOCOPY VARCHAR2,
6621: ov_errbuf OUT NOCOPY VARCHAR2,

Line 7537: For Standard event, get Acct from Regime

7533:
7534: --Added by zhiwei for POT change bug#13023443 on 20110929 begin
7535: -------------------------------------------------------------------------------
7536: /*
7537: For Standard event, get Acct from Regime
7538: For External Event, if Service tax
7539: if GL date >= POT date
7540: get Acct from JAI api
7541: if GL date < POT date

Line 8484: --For AR, only standard event will generate accounting for inclusive tax.

8480: FETCH get_taxable_event_cur INTO lv_taxable_event;
8481: CLOSE get_taxable_event_cur;
8482:
8483: /*--Add if condition by Xiao for bug#11903425
8484: --For AR, only standard event will generate accounting for inclusive tax.
8485: IF nvl(upper(lv_taxable_event), GV_TAXABLE_EVENT_EXTERNAL) = GV_TAXABLE_EVENT_STANDALONE THEN */
8486: --Above IF condition Commented by zhiwei for POT change Bug#13023443 on 20110929
8487: --For External Service Tax , if GL < POT ,need to insert gl_interface also. so comments if condition
8488: -- and add code determination in jai_ar_match_tax_pkg.acc_inclusive_tax.

Line 10825: IF lv_taxable_event = 'STANDARD' THEN

10821: LOOP
10822: FETCH refc_tax_cur INTO tax_lines_rec;
10823: EXIT WHEN refc_tax_cur%NOTFOUND;
10824:
10825: IF lv_taxable_event = 'STANDARD' THEN
10826: ln_p1 := tax_lines_rec.p_1;
10827: ln_p2 := tax_lines_rec.p_2;
10828: ln_p3 := tax_lines_rec.p_3;
10829: ln_p4 := tax_lines_rec.p_4;

Line 11748: /* The purpose is for distinguish Standard or External Case,

11744: FROM jai_interface_lines_all
11745: WHERE interface_line_id = ln_interface_line_id;
11746:
11747: --ap_invoice_lines_all.reference_key3 values 'OFI TAX IMPORT'
11748: /* The purpose is for distinguish Standard or External Case,
11749: * In External Case, when Service Taxes are imported and attached to AP lines,
11750: * the same will not be picked up and updated in the Service Tax Repository.
11751: */
11752: /*UPDATE ap_invoice_lines_all

Line 11825: --update reference_key3 as 'OFI TAX IMPORT.STANDARD' or 'OFI TAX IMPORT.EXTERNAL'

11821:
11822: lv_import_process := GV_PROCESS_ACCOUNTING;
11823: process_ap_accounting_lines(ln_interface_line_id);
11824:
11825: --update reference_key3 as 'OFI TAX IMPORT.STANDARD' or 'OFI TAX IMPORT.EXTERNAL'
11826: --for all the Miscellaneous lines for each item line.
11827: /* UPDATE ap_invoice_lines_all aila
11828: SET reference_key3 = 'OFI TAX IMPORT.' || upper(lv_taxable_event)
11829: WHERE invoice_id = ln_invoice_id