DBA Data[Home] [Help]

APPS.IGC_CC_BUDGETARY_CTRL_PKG dependencies on IGC_CC_ACCT_LINES

Line 47: p_cc_acct_lines_rec IN OUT NOCOPY igc_cc_acct_lines%ROWTYPE,

43: x_msg_count OUT NOCOPY NUMBER,
44: x_msg_data OUT NOCOPY VARCHAR2,
45: x_rowid IN OUT NOCOPY VARCHAR2,
46: p_action_flag IN VARCHAR2,
47: p_cc_acct_lines_rec IN OUT NOCOPY igc_cc_acct_lines%ROWTYPE,
48: p_update_flag IN OUT NOCOPY VARCHAR2
49: );
50:
51: PROCEDURE Det_Pf_Wrapper

Line 145: p_cc_acct_lines_rec IN OUT NOCOPY igc_cc_acct_lines%ROWTYPE,

141: x_msg_count OUT NOCOPY NUMBER,
142: x_msg_data OUT NOCOPY VARCHAR2,
143: x_rowid IN OUT NOCOPY VARCHAR2,
144: p_action_flag IN VARCHAR2,
145: p_cc_acct_lines_rec IN OUT NOCOPY igc_cc_acct_lines%ROWTYPE,
146: p_update_flag IN OUT NOCOPY VARCHAR2
147: ) IS
148:
149: l_api_name CONSTANT VARCHAR2(30) := 'Account_Line_Wrapper';

Line 163: IGC_CC_ACCT_LINES_PKG.Update_Row (

159: -- Make sure that the action requested to be performed is to UPDATE a row.
160: -- ---------------------------------------------------------------------------------
161: IF (p_action_flag = 'U') THEN
162:
163: IGC_CC_ACCT_LINES_PKG.Update_Row (
164: p_api_version,
165: p_init_msg_list,
166: p_commit,
167: p_validation_level,

Line 511: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;

507: l_api_name CONSTANT VARCHAR2(30) := 'Execute_Rel_Budgetary_Ctrl';
508: l_api_version CONSTANT NUMBER := 1.0;
509:
510: l_cc_headers_rec igc_cc_headers%ROWTYPE;
511: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;
512: l_cc_pmt_fcst_rec igc_cc_det_pf_v%ROWTYPE;
513:
514: l_transaction_date DATE;
515:

Line 516: l_cc_acct_comp_func_amt igc_cc_acct_lines_v.cc_acct_comp_func_amt%TYPE;

512: l_cc_pmt_fcst_rec igc_cc_det_pf_v%ROWTYPE;
513:
514: l_transaction_date DATE;
515:
516: l_cc_acct_comp_func_amt igc_cc_acct_lines_v.cc_acct_comp_func_amt%TYPE;
517: l_cc_acct_enc_amt igc_cc_acct_lines_v.cc_acct_encmbrnc_amt%TYPE;
518:
519: l_cc_det_pf_comp_func_amt igc_cc_det_pf_v.cc_det_pf_comp_func_amt%TYPE;
520: l_cc_det_pf_enc_amt igc_cc_det_pf_v.cc_det_pf_encmbrnc_amt%TYPE;

Line 517: l_cc_acct_enc_amt igc_cc_acct_lines_v.cc_acct_encmbrnc_amt%TYPE;

513:
514: l_transaction_date DATE;
515:
516: l_cc_acct_comp_func_amt igc_cc_acct_lines_v.cc_acct_comp_func_amt%TYPE;
517: l_cc_acct_enc_amt igc_cc_acct_lines_v.cc_acct_encmbrnc_amt%TYPE;
518:
519: l_cc_det_pf_comp_func_amt igc_cc_det_pf_v.cc_det_pf_comp_func_amt%TYPE;
520: l_cc_det_pf_enc_amt igc_cc_det_pf_v.cc_det_pf_encmbrnc_amt%TYPE;
521:

Line 536: l_update_login igc_cc_acct_lines.last_update_login%TYPE;

532: l_msg_count NUMBER;
533: l_msg_data VARCHAR2(2000);
534: l_row_id VARCHAR2(18);
535: l_update_flag VARCHAR2(1);
536: l_update_login igc_cc_acct_lines.last_update_login%TYPE;
537: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;
538:
539: -- -------------------------------------------------------------------------
540: -- Record definitions to be used for CURSORS getting single record for

Line 537: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;

533: l_msg_data VARCHAR2(2000);
534: l_row_id VARCHAR2(18);
535: l_update_flag VARCHAR2(1);
536: l_update_login igc_cc_acct_lines.last_update_login%TYPE;
537: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;
538:
539: -- -------------------------------------------------------------------------
540: -- Record definitions to be used for CURSORS getting single record for
541: -- the table wrappers. These record definitions are NOT the same as the

Line 545: l_acct_line_rec igc_cc_acct_lines%ROWTYPE;

541: -- the table wrappers. These record definitions are NOT the same as the
542: -- ones above when getting data from the views.
543: -- -------------------------------------------------------------------------
544: l_det_pf_rec igc_cc_det_pf%ROWTYPE;
545: l_acct_line_rec igc_cc_acct_lines%ROWTYPE;
546:
547: /* Contract Commitment account lines */
548:
549: -- Bug 2885953 - amended cursor below for performance enhancements

Line 552: -- FROM igc_cc_acct_lines_v ccac

548:
549: -- Bug 2885953 - amended cursor below for performance enhancements
550: -- CURSOR c_account_lines(t_cc_header_id NUMBER) IS
551: -- SELECT *
552: -- FROM igc_cc_acct_lines_v ccac
553: -- WHERE ccac.cc_header_id = t_cc_header_id;
554: CURSOR c_account_lines(t_cc_header_id NUMBER) IS
555: SELECT ccac.ROWID,
556: ccac.cc_header_id,

Line 618: FROM igc_cc_acct_lines ccac

614: ccac.cc_func_withheld_amt,
615: ccac.cc_ent_withheld_amt,
616: IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccac.cc_header_id, NVL(ccac.cc_func_withheld_amt,0)) cc_comp_func_whld_amt,
617: ccac.Tax_Classif_Code
618: FROM igc_cc_acct_lines ccac
619: WHERE ccac.cc_header_id = t_cc_header_id;
620:
621: /* Contract Detail Payment Forecast lines */
622:

Line 678: FROM igc_cc_acct_lines

674: -- functions for updating, inserting, deleting records from tables.
675: -- -------------------------------------------------------------------------
676: CURSOR c_cc_acct_line IS
677: SELECT *
678: FROM igc_cc_acct_lines
679: WHERE cc_acct_line_id = l_cc_acct_lines_rec.cc_acct_line_id;
680:
681: CURSOR c_det_pf_line IS
682: SELECT *

Line 806: -- igc_cc_acct_lines_v with

802:
803: l_billed_amt := 0;
804: l_func_billed_amt := 0;
805: -- Performance Tuning, Replaced view
806: -- igc_cc_acct_lines_v with
807: -- igc_cc_acct_lines and replaced the line
808: -- below.
809: -- SELECT cc_acct_billed_amt , cc_acct_func_billed_amt
810: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,

Line 807: -- igc_cc_acct_lines and replaced the line

803: l_billed_amt := 0;
804: l_func_billed_amt := 0;
805: -- Performance Tuning, Replaced view
806: -- igc_cc_acct_lines_v with
807: -- igc_cc_acct_lines and replaced the line
808: -- below.
809: -- SELECT cc_acct_billed_amt , cc_acct_func_billed_amt
810: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,
811: IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_FUNC_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_func_billed_amt

Line 813: FROM igc_cc_acct_lines ccal

809: -- SELECT cc_acct_billed_amt , cc_acct_func_billed_amt
810: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,
811: IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_FUNC_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_func_billed_amt
812: INTO l_billed_amt,l_func_billed_amt
813: FROM igc_cc_acct_lines ccal
814: WHERE ccal.cc_acct_line_id = l_cc_acct_lines_rec.cc_acct_line_id;
815:
816: IF (p_currency_code <> l_cc_headers_rec.currency_code) THEN
817:

Line 881: FROM igc_cc_acct_lines

877: END IF;
878:
879: SELECT rowid
880: INTO l_row_id
881: FROM igc_cc_acct_lines
882: WHERE cc_acct_line_id = l_acct_line_rec.cc_acct_line_id;
883:
884: Account_Line_Wrapper (p_api_version => l_api_version,
885: p_init_msg_list => FND_API.G_FALSE,

Line 1430: p_cc_acct_lines_rec IN igc_cc_acct_lines_v%ROWTYPE,

1426:
1427: PROCEDURE Process_Interface_Row(
1428: p_currency_code IN VARCHAR2,
1429: p_cc_headers_rec IN igc_cc_headers%ROWTYPE,
1430: p_cc_acct_lines_rec IN igc_cc_acct_lines_v%ROWTYPE,
1431: p_cc_pmt_fcst_rec IN igc_cc_det_pf_v%ROWTYPE,
1432: p_mode IN VARCHAR2,
1433: p_type IN VARCHAR2,
1434: p_accounting_date IN DATE,

Line 1538: -- igc_cc_acct_lines_v with

1534: l_func_billed_amt := 0;
1535: l_func_amt := 0;
1536:
1537: -- Performance Tuning, Replaced view
1538: -- igc_cc_acct_lines_v with
1539: -- igc_cc_acct_lines and replaced the line
1540: -- below.
1541: -- SELECT cc_acct_billed_amt , cc_acct_func_billed_amt, cc_acct_func_amt
1542: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,

Line 1539: -- igc_cc_acct_lines and replaced the line

1535: l_func_amt := 0;
1536:
1537: -- Performance Tuning, Replaced view
1538: -- igc_cc_acct_lines_v with
1539: -- igc_cc_acct_lines and replaced the line
1540: -- below.
1541: -- SELECT cc_acct_billed_amt , cc_acct_func_billed_amt, cc_acct_func_amt
1542: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,
1543: IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_FUNC_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_func_billed_amt,

Line 1546: FROM igc_cc_acct_lines ccal

1542: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,
1543: IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_FUNC_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_func_billed_amt,
1544: cc_acct_func_amt
1545: INTO l_billed_amt, l_func_billed_amt, l_func_amt
1546: FROM igc_cc_acct_lines ccal
1547: WHERE ccal.cc_acct_line_id = p_cc_acct_lines_rec.cc_acct_line_id;
1548:
1549: l_unbilled_amt := l_func_amt - l_func_billed_amt;
1550:

Line 1579: -- igc_cc_acct_lines_v with

1575: l_func_billed_amt := 0;
1576: l_func_amt := 0;
1577:
1578: -- Performance Tuning, Replaced view
1579: -- igc_cc_acct_lines_v with
1580: -- igc_cc_acct_lines and replaced the line
1581: -- below.
1582: -- SELECT cc_det_pf_billed_amt, cc_det_pf_func_billed_amt , cc_det_pf_func_amt
1583: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_PF_BILLED_AMT(ccdpf.cc_det_pf_line_id, ccdpf.cc_det_pf_line_num, ccdpf.cc_acct_line_id) cc_det_pf_billed_amt,

Line 1580: -- igc_cc_acct_lines and replaced the line

1576: l_func_amt := 0;
1577:
1578: -- Performance Tuning, Replaced view
1579: -- igc_cc_acct_lines_v with
1580: -- igc_cc_acct_lines and replaced the line
1581: -- below.
1582: -- SELECT cc_det_pf_billed_amt, cc_det_pf_func_billed_amt , cc_det_pf_func_amt
1583: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_PF_BILLED_AMT(ccdpf.cc_det_pf_line_id, ccdpf.cc_det_pf_line_num, ccdpf.cc_acct_line_id) cc_det_pf_billed_amt,
1584: IGC_CC_COMP_AMT_PKG.COMPUTE_PF_FUNC_BILLED_AMT(ccdpf.cc_det_pf_line_id, ccdpf.cc_det_pf_line_num, ccdpf.cc_acct_line_id) cc_det_pf_func_billed_amt,

Line 2034: l_cc_acct_line_id igc_cc_acct_lines_v.cc_acct_line_id%TYPE;

2030: -- l_cc_prov_enc_enable_flag igc_cc_encmbrnc_ctrls.cc_prov_encmbrnc_enable_flag%TYPE;
2031: -- l_cc_conf_enc_enable_flag igc_cc_encmbrnc_ctrls.cc_conf_encmbrnc_enable_flag%TYPE;
2032:
2033: l_cc_header_id igc_cc_headers.cc_header_id%TYPE;
2034: l_cc_acct_line_id igc_cc_acct_lines_v.cc_acct_line_id%TYPE;
2035: l_cc_det_pf_line_id igc_cc_det_pf_v.cc_det_pf_line_id%TYPE;
2036: l_budget_dest_flag igc_cc_interface.budget_dest_flag%TYPE;
2037: l_cc_transaction_date igc_cc_interface.cc_transaction_date%TYPE;
2038:

Line 2039: l_cc_acct_comp_func_amt igc_cc_acct_lines_v.cc_acct_comp_func_amt%TYPE;

2035: l_cc_det_pf_line_id igc_cc_det_pf_v.cc_det_pf_line_id%TYPE;
2036: l_budget_dest_flag igc_cc_interface.budget_dest_flag%TYPE;
2037: l_cc_transaction_date igc_cc_interface.cc_transaction_date%TYPE;
2038:
2039: l_cc_acct_comp_func_amt igc_cc_acct_lines_v.cc_acct_comp_func_amt%TYPE;
2040: l_cc_acct_enc_amt igc_cc_acct_lines_v.cc_acct_encmbrnc_amt%TYPE;
2041:
2042: l_cc_det_pf_comp_func_amt igc_cc_det_pf_v.cc_det_pf_comp_func_amt%TYPE;
2043: l_cc_det_pf_enc_amt igc_cc_det_pf_v.cc_det_pf_encmbrnc_amt%TYPE;

Line 2040: l_cc_acct_enc_amt igc_cc_acct_lines_v.cc_acct_encmbrnc_amt%TYPE;

2036: l_budget_dest_flag igc_cc_interface.budget_dest_flag%TYPE;
2037: l_cc_transaction_date igc_cc_interface.cc_transaction_date%TYPE;
2038:
2039: l_cc_acct_comp_func_amt igc_cc_acct_lines_v.cc_acct_comp_func_amt%TYPE;
2040: l_cc_acct_enc_amt igc_cc_acct_lines_v.cc_acct_encmbrnc_amt%TYPE;
2041:
2042: l_cc_det_pf_comp_func_amt igc_cc_det_pf_v.cc_det_pf_comp_func_amt%TYPE;
2043: l_cc_det_pf_enc_amt igc_cc_det_pf_v.cc_det_pf_encmbrnc_amt%TYPE;
2044:

Line 2064: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;

2060: l_sob_id NUMBER;
2061: l_cc_state VARCHAR2(2);
2062:
2063: l_cc_headers_rec igc_cc_headers%ROWTYPE;
2064: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;
2065: l_cc_pmt_fcst_rec igc_cc_det_pf_v%ROWTYPE;
2066: l_cc_interface_rec igc_cc_interface%ROWTYPE;
2067:
2068: l_debug VARCHAR2(1);

Line 2090: l_update_login igc_cc_acct_lines.last_update_login%TYPE;

2086: l_msg_count NUMBER;
2087: l_msg_data VARCHAR2(2000);
2088: l_row_id VARCHAR2(18);
2089: l_update_flag VARCHAR2(1);
2090: l_update_login igc_cc_acct_lines.last_update_login%TYPE;
2091: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;
2092:
2093: -- -------------------------------------------------------------------------
2094: -- Record definitions to be used for CURSORS getting single record for

Line 2091: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;

2087: l_msg_data VARCHAR2(2000);
2088: l_row_id VARCHAR2(18);
2089: l_update_flag VARCHAR2(1);
2090: l_update_login igc_cc_acct_lines.last_update_login%TYPE;
2091: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;
2092:
2093: -- -------------------------------------------------------------------------
2094: -- Record definitions to be used for CURSORS getting single record for
2095: -- the table wrappers. These record definitions are NOT the same as the

Line 2099: l_acct_line_rec igc_cc_acct_lines%ROWTYPE;

2095: -- the table wrappers. These record definitions are NOT the same as the
2096: -- ones above when getting data from the views.
2097: -- -------------------------------------------------------------------------
2098: l_det_pf_rec igc_cc_det_pf%ROWTYPE;
2099: l_acct_line_rec igc_cc_acct_lines%ROWTYPE;
2100:
2101: e_cc_invalid_set_up EXCEPTION;
2102: e_no_budgetary_control EXCEPTION;
2103: e_cc_not_found EXCEPTION;

Line 2185: -- FROM igc_cc_acct_lines_v ccac

2181:
2182: -- Bug 2885953 - cursor below amended for performance enhancements
2183: -- CURSOR c_account_lines(t_cc_header_id NUMBER) IS
2184: -- SELECT *
2185: -- FROM igc_cc_acct_lines_v ccac
2186: -- WHERE ccac.cc_header_id = t_cc_header_id;
2187: CURSOR c_account_lines(t_cc_header_id NUMBER) IS
2188: SELECT ccac.ROWID,
2189: ccac.cc_header_id,

Line 2251: FROM igc_cc_acct_lines ccac

2247: ccac.cc_func_withheld_amt,
2248: ccac.cc_ent_withheld_amt,
2249: IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccac.cc_header_id, NVL(ccac.cc_func_withheld_amt,0)) cc_comp_func_whld_amt,
2250: ccac.Tax_Classif_Code
2251: FROM igc_cc_acct_lines ccac
2252: WHERE ccac.cc_header_id = t_cc_header_id;
2253:
2254: -- -------------------------------------------------------------------------
2255: -- Cursors used for obtaining a single line to be passed into the wrapper

Line 2260: FROM igc_cc_acct_lines

2256: -- functions for updating, inserting, deleting records from tables.
2257: -- -------------------------------------------------------------------------
2258: CURSOR c_cc_acct_line IS
2259: SELECT *
2260: FROM igc_cc_acct_lines
2261: WHERE cc_acct_line_id = l_cc_acct_line_id;
2262:
2263: CURSOR c_det_pf_line IS
2264: SELECT *

Line 2270: FROM igc_cc_acct_lines

2266: WHERE cc_det_pf_line_id = l_cc_det_pf_line_id;
2267:
2268: CURSOR c_cc_acct_line_rec_input IS
2269: SELECT *
2270: FROM igc_cc_acct_lines
2271: WHERE cc_acct_line_id = l_cc_acct_lines_rec.cc_acct_line_id;
2272:
2273: CURSOR c_det_pf_line_rec_input IS
2274: SELECT *

Line 2285: FROM igc_cc_acct_lines

2281: SELECT SUM(( IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(cp_cc_header_id, NVL(cc_det_pf_entered_amt,0) ) -
2282: NVL(cc_det_pf_encmbrnc_amt,0) )) cc_det_pf_unencmbrd_amt
2283: FROM igc_cc_det_pf
2284: WHERE cc_acct_line_id IN (SELECT cc_acct_line_id
2285: FROM igc_cc_acct_lines
2286: WHERE cc_header_id = cp_cc_header_id);
2287: -- bug 2689651, end 2
2288:
2289: l_full_path VARCHAR2(255);

Line 2819: -- igc_cc_acct_lines_v with

2815: (l_budget_dest_flag = 'C'))
2816: THEN */--Bug 5464993. Update amounts even when cbc is disabled
2817:
2818: -- Performance Tuning, Replaced view
2819: -- igc_cc_acct_lines_v with
2820: -- igc_cc_acct_lines and replaced the line
2821: -- below.
2822: -- SELECT cc_acct_comp_func_amt
2823: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccal.cc_header_id, NVL(ccal.cc_acct_entered_amt,0)) cc_acct_comp_func_amt

Line 2820: -- igc_cc_acct_lines and replaced the line

2816: THEN */--Bug 5464993. Update amounts even when cbc is disabled
2817:
2818: -- Performance Tuning, Replaced view
2819: -- igc_cc_acct_lines_v with
2820: -- igc_cc_acct_lines and replaced the line
2821: -- below.
2822: -- SELECT cc_acct_comp_func_amt
2823: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccal.cc_header_id, NVL(ccal.cc_acct_entered_amt,0)) cc_acct_comp_func_amt
2824: INTO l_cc_acct_comp_func_amt

Line 2825: FROM igc_cc_acct_lines ccal

2821: -- below.
2822: -- SELECT cc_acct_comp_func_amt
2823: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccal.cc_header_id, NVL(ccal.cc_acct_entered_amt,0)) cc_acct_comp_func_amt
2824: INTO l_cc_acct_comp_func_amt
2825: FROM igc_cc_acct_lines ccal
2826: WHERE ccal.cc_acct_line_id = l_cc_acct_line_id;
2827:
2828: -- IF (IGC_MSGS_PKG.g_debug_mode) THEN
2829: IF (g_debug_mode = 'Y') THEN

Line 2897: -- igc_cc_acct_lines_v with

2893: l_billed_amt := 0;
2894: l_func_billed_amt := 0;
2895:
2896: -- Performance Tuning, Replaced view
2897: -- igc_cc_acct_lines_v with
2898: -- igc_cc_acct_lines and replaced the line
2899: -- below.
2900: -- SELECT cc_acct_billed_amt ,cc_acct_func_billed_amt
2901: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,

Line 2898: -- igc_cc_acct_lines and replaced the line

2894: l_func_billed_amt := 0;
2895:
2896: -- Performance Tuning, Replaced view
2897: -- igc_cc_acct_lines_v with
2898: -- igc_cc_acct_lines and replaced the line
2899: -- below.
2900: -- SELECT cc_acct_billed_amt ,cc_acct_func_billed_amt
2901: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,
2902: IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_FUNC_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_func_billed_amt

Line 2904: FROM igc_cc_acct_lines ccal

2900: -- SELECT cc_acct_billed_amt ,cc_acct_func_billed_amt
2901: SELECT IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_billed_amt,
2902: IGC_CC_COMP_AMT_PKG.COMPUTE_ACCT_FUNC_BILLED_AMT( ccal.cc_acct_line_id) cc_acct_func_billed_amt
2903: INTO l_billed_amt, l_func_billed_amt
2904: FROM igc_cc_acct_lines ccal
2905: WHERE ccal.cc_acct_line_id = l_cc_acct_line_id;
2906:
2907: IF (l_currency_code <> l_cc_headers_rec.currency_code)
2908: THEN

Line 2965: FROM igc_cc_acct_lines

2961: END IF;
2962:
2963: SELECT rowid
2964: INTO l_row_id
2965: FROM igc_cc_acct_lines
2966: WHERE cc_acct_line_id = l_acct_line_rec.cc_acct_line_id;
2967:
2968: -- IF (IGC_MSGS_PKG.g_debug_mode) THEN
2969: IF (g_debug_mode = 'Y') THEN

Line 3409: FROM igc_cc_acct_lines

3405: l_acct_line_rec.last_updated_by := l_update_by;
3406:
3407: SELECT rowid
3408: INTO l_row_id
3409: FROM igc_cc_acct_lines
3410: WHERE cc_acct_line_id = l_acct_line_rec.cc_acct_line_id;
3411:
3412: -- IF (IGC_MSGS_PKG.g_debug_mode) THEN
3413: IF (g_debug_mode = 'Y') THEN

Line 4190: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;

4186: l_api_name CONSTANT VARCHAR2(30) := 'Set_Encumbrance_Status';
4187: l_api_version CONSTANT NUMBER := 1.0;
4188:
4189: l_cc_headers_rec igc_cc_headers%ROWTYPE;
4190: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;
4191: l_cc_pmt_fcst_rec igc_cc_det_pf_v%ROWTYPE;
4192:
4193: l_error_message VARCHAR2(2000);
4194:

Line 4204: l_update_login igc_cc_acct_lines.last_update_login%TYPE;

4200: l_msg_count NUMBER;
4201: l_msg_data VARCHAR2(2000);
4202: l_row_id VARCHAR2(18);
4203: l_update_flag VARCHAR2(1);
4204: l_update_login igc_cc_acct_lines.last_update_login%TYPE;
4205: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;
4206:
4207: -- -------------------------------------------------------------------------
4208: -- Record definitions to be used for CURSORS getting single record for

Line 4205: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;

4201: l_msg_data VARCHAR2(2000);
4202: l_row_id VARCHAR2(18);
4203: l_update_flag VARCHAR2(1);
4204: l_update_login igc_cc_acct_lines.last_update_login%TYPE;
4205: l_update_by igc_cc_acct_lines.last_updated_by%TYPE;
4206:
4207: -- -------------------------------------------------------------------------
4208: -- Record definitions to be used for CURSORS getting single record for
4209: -- the table wrappers. These record definitions are NOT the same as the

Line 4214: l_acct_line_rec igc_cc_acct_lines%ROWTYPE;

4210: -- ones above when getting data from the views.
4211: -- -------------------------------------------------------------------------
4212: l_det_pf_rec igc_cc_det_pf%ROWTYPE;
4213: l_header_rec igc_cc_headers%ROWTYPE;
4214: l_acct_line_rec igc_cc_acct_lines%ROWTYPE;
4215:
4216: e_cc_not_found EXCEPTION;
4217: e_invalid_status_code EXCEPTION;
4218:

Line 4277: -- FROM igc_cc_acct_lines_v ccac

4273:
4274: -- Bug 2885953 - cursor below amended for performance enhancements
4275: -- CURSOR c_account_lines(t_cc_header_id NUMBER) IS
4276: -- SELECT *
4277: -- FROM igc_cc_acct_lines_v ccac
4278: -- WHERE ccac.cc_header_id = t_cc_header_id;
4279: CURSOR c_account_lines(t_cc_header_id NUMBER) IS
4280: SELECT ccac.ROWID,
4281: ccac.cc_header_id,

Line 4343: FROM igc_cc_acct_lines ccac

4339: ccac.cc_func_withheld_amt,
4340: ccac.cc_ent_withheld_amt,
4341: IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccac.cc_header_id, NVL(ccac.cc_func_withheld_amt,0)) cc_comp_func_whld_amt,
4342: ccac.Tax_Classif_Code
4343: FROM igc_cc_acct_lines ccac
4344: WHERE ccac.cc_header_id = t_cc_header_id;
4345:
4346: -- -------------------------------------------------------------------------
4347: -- Cursors used for obtaining a single line to be passed into the wrapper

Line 4352: FROM igc_cc_acct_lines

4348: -- functions for updating, inserting, deleting records from tables.
4349: -- -------------------------------------------------------------------------
4350: CURSOR c_cc_acct_line IS
4351: SELECT *
4352: FROM igc_cc_acct_lines
4353: WHERE cc_acct_line_id = l_cc_acct_lines_rec.cc_acct_line_id;
4354:
4355: CURSOR c_det_pf_line IS
4356: SELECT *

Line 4448: FROM igc_cc_acct_lines

4444: l_acct_line_rec.last_updated_by := l_update_by;
4445:
4446: SELECT rowid
4447: INTO l_row_id
4448: FROM igc_cc_acct_lines
4449: WHERE cc_acct_line_id = l_acct_line_rec.cc_acct_line_id;
4450:
4451: Account_Line_Wrapper (p_api_version => l_api_version,
4452: p_init_msg_list => FND_API.G_FALSE,

Line 4679: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;

4675: IS
4676: l_api_name CONSTANT VARCHAR2(30) := 'Validate_CC';
4677: l_api_version CONSTANT NUMBER := 1.0;
4678: l_cc_headers_rec igc_cc_headers%ROWTYPE;
4679: l_cc_acct_lines_rec igc_cc_acct_lines_v%ROWTYPE;
4680: l_cc_det_pf_lines_rec igc_cc_det_pf_v%ROWTYPE;
4681: l_cc_pmt_fcst_rec igc_cc_det_pf_v%ROWTYPE;
4682: l_cc_acct_cnt NUMBER := 0;
4683: l_total_pf_entered_amt NUMBER := 0;

Line 4718: -- FROM igc_cc_acct_lines_v ccac

4714:
4715: -- Bug 2885953 - cursor below amended for performance enhancements
4716: -- CURSOR c_account_lines(t_cc_header_id NUMBER) IS
4717: -- SELECT *
4718: -- FROM igc_cc_acct_lines_v ccac
4719: -- WHERE ccac.cc_header_id = t_cc_header_id;
4720: CURSOR c_account_lines(t_cc_header_id NUMBER) IS
4721: SELECT ccac.ROWID,
4722: ccac.cc_header_id,

Line 4784: FROM igc_cc_acct_lines ccac

4780: ccac.cc_func_withheld_amt,
4781: ccac.cc_ent_withheld_amt,
4782: IGC_CC_COMP_AMT_PKG.COMPUTE_FUNCTIONAL_AMT(ccac.cc_header_id, NVL(ccac.cc_func_withheld_amt,0)) cc_comp_func_whld_amt,
4783: ccac.Tax_Classif_Code
4784: FROM igc_cc_acct_lines ccac
4785: WHERE ccac.cc_header_id = t_cc_header_id;
4786:
4787: CURSOR c_det_pf_lines(t_cc_acct_line_id NUMBER) IS
4788: -- Performance Tuning, Replaced view