DBA Data[Home] [Help]

APPS.JAI_RCV_RND_PKG dependencies on JAI_CMN_RG_ROUND_LINES

Line 250: FROM JAI_CMN_RG_ROUND_LINES

246: v_1st_claim_tot_cnt NUMBER;
247:
248: CURSOR c_1st_claim_cgin_cnt(p_rounding_id IN NUMBER) IS
249: SELECT count(1) total_cnt, sum( decode(item_class, 'CGIN', 1, 'CGEX', 1, 0) ) cgin_cnt
250: FROM JAI_CMN_RG_ROUND_LINES
251: WHERE rounding_id = p_rounding_id
252: GROUP BY rounding_id;
253:
254: r_1st_claim_cgin_cnt c_1st_claim_cgin_cnt%ROWTYPE;

Line 281: - Insert into JAI_CMN_RG_ROUND_HDRS, JAI_CMN_RG_ROUND_LINES tables

277: 1 08/01/2004 Vijay Shankar for Bug# 3213826 Version : 619.1
278: Created the Package to handle Receipts related RG Rounding.
279: DO_ROUNDING Procedue is called from concurrent program JAINRGRND. This procedure posts excise amount Rounding differences to
280: - RG_PART_II, GL Accouting, Update RG balances
281: - Insert into JAI_CMN_RG_ROUND_HDRS, JAI_CMN_RG_ROUND_LINES tables
282: - Makes a call to jai_cmn_rg_period_bals_pkg.adjust_rounding to adjust this rounding amount in PERIOD Balance if
283: the min(ROUNDING_LINE_ID,register_id) of excise invoice is already consolidated in another period
284:
285: Only for Excise Invoice having all CGIN Items is considered as a case where in two rounding entries were passed.

Line 290: are modified to select JAI_CMN_RG_ROUND_LINES_S.nextval, the all the required data and punch Rounding_id in JAI_CMN_RG_23AC_II_TRXS in CORRECT RG records also

286: all the other scenarios only one rounding entry is passed
287:
288: 2 31/08/2004 Vijay Shankar for Bug# 3496408 Version : 115.1
289: Modified the code to consider CORRECTions of RECEIVE to round the CENVAT amount. Related Selects and Updates
290: are modified to select JAI_CMN_RG_ROUND_LINES_S.nextval, the all the required data and punch Rounding_id in JAI_CMN_RG_23AC_II_TRXS in CORRECT RG records also
291:
292: 3 21/01/2005 Sanjikum for Bug #4049363 Version 116.0 (115.2)
293: Modified the Code to consider the rounding for each tax type instead of total excise amount
294: Changed a lot of code. Can be searched with Bug#4049363

Line 297: New columns are added in the Tables - JAI_CMN_RG_ROUND_HDRS, JAI_CMN_RG_ROUND_LINES

293: Modified the Code to consider the rounding for each tax type instead of total excise amount
294: Changed a lot of code. Can be searched with Bug#4049363
295:
296: Dependency -
297: New columns are added in the Tables - JAI_CMN_RG_ROUND_HDRS, JAI_CMN_RG_ROUND_LINES
298:
299: 4 31/08/2004 Vijay Shankar for Bug# 4103161 Version : 116.1
300: added a new procedure DO_RTV_ROUNDING to take care of RTV Rounding also.
301: And existing procedure do_rounding is modified to make a call to do_rtv_rounding

Line 765: INSERT INTO JAI_CMN_RG_ROUND_LINES (ROUNDING_LINE_ID,

761: ln_cenvat_amount.total := NVL(ln_cenvat_amount.basic,0) + NVL(ln_cenvat_amount.additional,0) + NVL(ln_cenvat_amount.other,0) + NVL(ln_cenvat_amount.excise_edu_cess,0) + NVL(ln_cenvat_amount.cvd_edu_cess,0);
762: v_statement_no := '1.5';
763:
764: -- populate item class
765: INSERT INTO JAI_CMN_RG_ROUND_LINES (ROUNDING_LINE_ID,
766: ROUNDING_ID, SRC_LINE_ID, SRC_TRANSACTION_ID,
767: EXCISE_AMT,
768: BASIC_ED, ADDITIONAL_ED, OTHER_ED, --Added by Sanjikum for Bug #4049363
769: EXCISE_EDU_CESS, CVD_EDU_CESS,--Added by Sanjikum for Bug #4049363

Line 775: VALUES ( JAI_CMN_RG_ROUND_LINES_S.nextval,

771: sh_cvd_edu_cess ,
772: ITEM_CLASS, CREATION_DATE, CREATED_BY,
773: program_application_id, program_id, program_login_id, request_id
774: )
775: VALUES ( JAI_CMN_RG_ROUND_LINES_S.nextval,
776: v_rounding_id,
777: line.shipment_line_id,
778: trx.transaction_id,
779: ln_cenvat_amount.total, --Added by Sanjikum for Bug #4049363

Line 865: UPDATE JAI_CMN_RG_ROUND_LINES

861: NVL(v_tot_amount.sh_excise_edu_cess,0) + -- Date 16/04/2007 by sacsethi for Bug#5989740
862: NVL(v_tot_amount.sh_cvd_edu_cess,0);
863:
864:
865: UPDATE JAI_CMN_RG_ROUND_LINES
866: SET --7 columns added by Sanjikum for Bug #4049363
867: excise_amt = NVL(basic_ed/2,0) +
868: NVL(additional_ed/2,0) +
869: NVL(additional_cvd/2,0) + /*Added by SACSETHI for the bug 5228046 -Additional CVD Enhancement*/

Line 1078: DELETE FROM JAI_CMN_RG_ROUND_LINES WHERE rounding_id = v_rounding_id;

1074: )
1075: )
1076: );
1077:
1078: DELETE FROM JAI_CMN_RG_ROUND_LINES WHERE rounding_id = v_rounding_id;
1079:
1080: FND_FILE.PUT_LINE( FND_FILE.log, '**** Zero Rounded ****');
1081: GOTO next_exc_inv;
1082: ELSIF v_rounded_amount.total > 0 THEN

Line 2484: INSERT INTO JAI_CMN_RG_ROUND_LINES (ROUNDING_LINE_ID,

2480: fnd_file.put_line(fnd_file.log, '2-Before Insert into Entry Lines');
2481: end if;
2482:
2483: -- populate item class
2484: INSERT INTO JAI_CMN_RG_ROUND_LINES (ROUNDING_LINE_ID,
2485: ROUNDING_ID, SRC_LINE_ID, SRC_TRANSACTION_ID,
2486: EXCISE_AMT,
2487: BASIC_ED, ADDITIONAL_ED,ADDITIONAL_CVD , OTHER_ED,
2488: EXCISE_EDU_CESS, CVD_EDU_CESS,

Line 2492: ) VALUES ( JAI_CMN_RG_ROUND_LINES_S.nextval,

2488: EXCISE_EDU_CESS, CVD_EDU_CESS,
2489: sh_excise_edu_cess, sh_cvd_edu_cess, -- Date 16/04/2007 by sacsethi for Bug#5989740
2490: ITEM_CLASS, CREATION_DATE, CREATED_BY,
2491: program_application_id, program_id, program_login_id, request_id
2492: ) VALUES ( JAI_CMN_RG_ROUND_LINES_S.nextval,
2493: v_rounding_id, line.shipment_line_id, line.transaction_id,
2494: ln_cenvat_amount.total,
2495: ln_cenvat_amount.basic,
2496: ln_cenvat_amount.additional,

Line 2710: DELETE FROM JAI_CMN_RG_ROUND_LINES WHERE rounding_id = v_rounding_id;

2706: );
2707:
2708: end if;
2709:
2710: DELETE FROM JAI_CMN_RG_ROUND_LINES WHERE rounding_id = v_rounding_id;
2711:
2712: fnd_file.put_line(fnd_file.log, '**** Zero Rounded ****');
2713: GOTO next_exc_inv;
2714: