DBA Data[Home] [Help]

APPS.IGS_FI_CHARGES_API_PVT dependencies on IGS_FI_GEN_GL

Line 321: igs_fi_gen_gl.finp_get_cur( p_v_currency_cd => g_curr_cd,

317:
318: BEGIN
319:
320: -- Call generic function to get the currency_cd setup in igs_fi_control
321: igs_fi_gen_gl.finp_get_cur( p_v_currency_cd => g_curr_cd,
322: p_v_curr_desc => l_v_curr_desc,
323: p_v_message_name => l_v_message_name
324: );
325: IF l_v_message_name IS NULL THEN

Line 1147: l_chg_rec.inv_due := igs_fi_gen_gl.get_formatted_amount(l_chg_rec.inv_due);

1143: IF l_chg_rec.error_account = g_ind_yes THEN
1144: l_ret_val := 1;
1145: EXIT;
1146: ELSE
1147: l_chg_rec.inv_due := igs_fi_gen_gl.get_formatted_amount(l_chg_rec.inv_due);
1148: l_chg_rec.inv_amt := igs_fi_gen_gl.get_formatted_amount(l_chg_rec.inv_amt);
1149: l_inv_amt.inv_due := NVL(l_inv_amt.inv_due,0) + NVL(l_chg_rec.inv_due,0);
1150: l_inv_amt.inv_amt := NVL(l_inv_amt.inv_amt,0) + NVL(l_chg_rec.inv_amt,0);
1151: END IF;

Line 1148: l_chg_rec.inv_amt := igs_fi_gen_gl.get_formatted_amount(l_chg_rec.inv_amt);

1144: l_ret_val := 1;
1145: EXIT;
1146: ELSE
1147: l_chg_rec.inv_due := igs_fi_gen_gl.get_formatted_amount(l_chg_rec.inv_due);
1148: l_chg_rec.inv_amt := igs_fi_gen_gl.get_formatted_amount(l_chg_rec.inv_amt);
1149: l_inv_amt.inv_due := NVL(l_inv_amt.inv_due,0) + NVL(l_chg_rec.inv_due,0);
1150: l_inv_amt.inv_amt := NVL(l_inv_amt.inv_amt,0) + NVL(l_chg_rec.inv_amt,0);
1151: END IF;
1152: END LOOP;

Line 1561: l_n_invoice_amount := igs_fi_gen_gl.get_formatted_amount(p_header_rec.p_invoice_amount);

1557: -- If the call is incompatible, then raise the unexpected error
1558: RAISE fnd_api.g_exc_unexpected_error;
1559: END IF;
1560:
1561: l_n_invoice_amount := igs_fi_gen_gl.get_formatted_amount(p_header_rec.p_invoice_amount);
1562:
1563: -- initialise the table which returns the invice lines id
1564: x_line_id_tbl.DELETE;
1565:

Line 2025: chgrec.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(chgrec.invoice_amount_due);

2021: p_line_tbl(1).p_location_cd,
2022: p_header_rec.p_source_transaction_id) LOOP
2023: IF NOT(chk_charge_adjusted(p_header_rec.p_source_transaction_id, chgrec.invoice_amount)) THEN
2024: l_rec_exist := TRUE;
2025: chgrec.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(chgrec.invoice_amount_due);
2026: chgrec.invoice_amount := igs_fi_gen_gl.get_formatted_amount(chgrec.invoice_amount);
2027:
2028: -- If the Adjustment Amount is greater than 0, then
2029: IF NVL(l_adj_amt,0) > 0 THEN

Line 2026: chgrec.invoice_amount := igs_fi_gen_gl.get_formatted_amount(chgrec.invoice_amount);

2022: p_header_rec.p_source_transaction_id) LOOP
2023: IF NOT(chk_charge_adjusted(p_header_rec.p_source_transaction_id, chgrec.invoice_amount)) THEN
2024: l_rec_exist := TRUE;
2025: chgrec.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(chgrec.invoice_amount_due);
2026: chgrec.invoice_amount := igs_fi_gen_gl.get_formatted_amount(chgrec.invoice_amount);
2027:
2028: -- If the Adjustment Amount is greater than 0, then
2029: IF NVL(l_adj_amt,0) > 0 THEN
2030:

Line 2090: rec_charges.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount_due);

2086: IF NOT(chk_charge_adjusted(p_header_rec.p_source_transaction_id, rec_charges.invoice_amount)) THEN
2087:
2088: -- If Adjustment Amount is not zero
2089: IF (NVL(l_adj_amt,0) > 0) THEN
2090: rec_charges.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount_due);
2091: rec_charges.invoice_amount := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount);
2092:
2093: -- Fetch sum of all negative adjustment credits for the Invoice in context
2094: OPEN cur_chgadj(rec_charges.invoice_id);

Line 2091: rec_charges.invoice_amount := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount);

2087:
2088: -- If Adjustment Amount is not zero
2089: IF (NVL(l_adj_amt,0) > 0) THEN
2090: rec_charges.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount_due);
2091: rec_charges.invoice_amount := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount);
2092:
2093: -- Fetch sum of all negative adjustment credits for the Invoice in context
2094: OPEN cur_chgadj(rec_charges.invoice_id);
2095: FETCH cur_chgadj INTO l_n_chgadj_amt;

Line 2148: rec_charges.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount_due);

2144: IF NOT(chk_charge_adjusted(p_header_rec.p_source_transaction_id, rec_charges.invoice_amount)) THEN
2145:
2146: -- If Adjustment Amount is not zero
2147: IF (NVL(l_adj_amt,0) > 0) THEN
2148: rec_charges.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount_due);
2149: rec_charges.invoice_amount := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount);
2150:
2151: -- Fetch sum of all negative adjustment credits for the Invoice in context
2152: OPEN cur_chgadj(rec_charges.invoice_id);

Line 2149: rec_charges.invoice_amount := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount);

2145:
2146: -- If Adjustment Amount is not zero
2147: IF (NVL(l_adj_amt,0) > 0) THEN
2148: rec_charges.invoice_amount_due := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount_due);
2149: rec_charges.invoice_amount := igs_fi_gen_gl.get_formatted_amount(rec_charges.invoice_amount);
2150:
2151: -- Fetch sum of all negative adjustment credits for the Invoice in context
2152: OPEN cur_chgadj(rec_charges.invoice_id);
2153: FETCH cur_chgadj INTO l_n_chgadj_amt;

Line 2213: -- Call to igs_fi_gen_gl.get_formatted_amount formats amounts by rounding off to currency precision

2209: -- Modified by jbegum as part of Enh bug #2228910
2210: -- Removed the column source_transaction_id in the call to IGS_FI_INV_INT_PKG.Insert_Row
2211: -- Added column reversal_gl_date in call to insert_row part of bug 2584986
2212:
2213: -- Call to igs_fi_gen_gl.get_formatted_amount formats amounts by rounding off to currency precision
2214: igs_fi_inv_int_pkg.insert_row(x_rowid => l_rowid,
2215: x_invoice_id => l_invoice_id,
2216: x_person_id => p_header_rec.p_person_id,
2217: x_fee_type => p_header_rec.p_fee_type,

Line 2262: l_n_amount := igs_fi_gen_gl.get_formatted_amount(p_line_tbl(l_var).p_amount);

2258: -- Loop through the PL/SQL table for the Charges Lines records
2259: FOR l_var IN p_line_tbl.FIRST..p_line_tbl.LAST LOOP
2260: l_rowid := NULL;
2261: l_invoice_lines_id := NULL;
2262: l_n_amount := igs_fi_gen_gl.get_formatted_amount(p_line_tbl(l_var).p_amount);
2263:
2264: -- Modifacation done by kkillams; w.r.t to finance accounting dld bug id : 1882122
2265: l_dr_gl_ccid := p_line_tbl(l_var).p_override_dr_rec_ccid;
2266: l_cr_gl_ccid := p_line_tbl(l_var).p_override_cr_rev_ccid;

Line 2319: -- Call to igs_fi_gen_gl.get_formatted_amount formats amount by rounding off to currency precision

2315:
2316: -- Call the Table Handler for creating the Charges Lines record
2317: -- Enh bug 2584986: Added parameters gl_date, gl_posted_date and posting_control_id in call to insert_row
2318:
2319: -- Call to igs_fi_gen_gl.get_formatted_amount formats amount by rounding off to currency precision
2320: igs_fi_invln_int_pkg.insert_row(x_rowid => l_rowid,
2321: x_invoice_lines_id => l_invoice_lines_id,
2322: x_invoice_id => l_invoice_id,
2323: x_line_number => l_var,