DBA Data[Home] [Help]

APPS.PA_BURDEN_COSTING dependencies on PA_TRANSACTIONS

Line 1489: pa_transactions.FlushEiTabs();

1485:
1486: IF P_DEBUG_MODE THEN
1487: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '850:call Flusheitabs');
1488: END IF;
1489: pa_transactions.FlushEiTabs();
1490: i := 0;
1491: /*=========================================================+
1492: | CWK - See if the project has Budgetory control enabled. |
1493: +=========================================================*/

Line 1574: pa_transactions.InsertExpGroup(exp_group,'APPROVED',sysdate,'BTC',0,NULL,NULL,G_MOAC_ORG_ID);

1570: if (create_exp_grp_flag ) then
1571: IF P_DEBUG_MODE THEN
1572: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '950:call to insertexpgroup');
1573: END IF;
1574: pa_transactions.InsertExpGroup(exp_group,'APPROVED',sysdate,'BTC',0,NULL,NULL,G_MOAC_ORG_ID);
1575: IF P_DEBUG_MODE THEN
1576: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1000:back from insertexpgroup');
1577: END IF;
1578: -- Handle error

Line 1677: pa_transactions.InsertExp(

1673: */
1674: IF P_DEBUG_MODE THEN
1675: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1200:Call InsertExp');
1676: END IF;
1677: pa_transactions.InsertExp(
1678: x_expenditure_id =>exp_id,
1679: x_expend_status =>'APPROVED',
1680: x_expend_ending => pa_utils.NewGetWeekEnding((bcc_rec.source_exp_item_date)), --Bug 2236707,3551106
1681: -- x_expend_ending =>pa_utils.NewGetWeekEnding(pa_utils2.get_pa_period_end_date_OU(bcc_rec.source_pa_date)-6), -- Bug 2933915,3551106

Line 1818: /* Moved the derivation of work type id to here for bug 2607781 as it needs to be passed to pa_transactions_pub.validate_transaction */

1814: over_project_id := proj_rec.dest_project_id;
1815: end if;
1816: end if;
1817:
1818: /* Moved the derivation of work type id to here for bug 2607781 as it needs to be passed to pa_transactions_pub.validate_transaction */
1819: IF ( NVL(pa_utils4.is_exp_work_type_enabled, 'N') = 'Y' )
1820: THEN
1821: IF P_DEBUG_MODE THEN
1822: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1510:Calling Get_work_type_id with Project_id [' ||

Line 1849: pa_transactions_pub.validate_transaction. Also passing null's for rate

1845: (nvl(c_project_id, -999999) <> over_project_id) or
1846: (nvl(c_expenditure_type, '') <> prev_bcc_rec.source_ind_expenditure_type)) then
1847: /*
1848: Multi-Curr Changes. Chnaged patc.get_status to
1849: pa_transactions_pub.validate_transaction. Also passing null's for rate
1850: attributes, the raw cost for BTC transactions is 0. The burdened costs are
1851: calculated using existing CDL's which are already converted.
1852: */
1853:

Line 1858: pa_transactions_pub.validate_transaction(

1854: IF P_DEBUG_MODE THEN
1855: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1550:Call PATC for project,task or exp type change');
1856: END IF;
1857: /* modified for the Bug#1825827 */
1858: pa_transactions_pub.validate_transaction(
1859: x_project_id =>over_project_id,
1860: x_task_id =>over_task_id,
1861: x_ei_date =>prev_bcc_rec.source_exp_item_date,
1862: x_expenditure_type =>prev_bcc_rec.source_ind_expenditure_type,

Line 1942: /* Commenting this for bug 2607781 as work type id needs to be derived before the call to pa_transactions_pub.validate_transaction

1938: /*
1939: * AddEi Attributes - related change.
1940: * Deriving work_type_id.
1941: */
1942: /* Commenting this for bug 2607781 as work type id needs to be derived before the call to pa_transactions_pub.validate_transaction
1943: IF ( NVL(pa_utils4.is_exp_work_type_enabled, 'N') = 'Y' )
1944: THEN
1945: IF P_DEBUG_MODE THEN
1946: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1645:Calling Get_work_type_id with Project_id [' ||

Line 1977: pa_transactions.LoadEi(

1973: IF P_DEBUG_MODE THEN
1974: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1650:Call Loadei');
1975: END IF;
1976:
1977: pa_transactions.LoadEi(
1978: x_expenditure_item_id =>exp_item_id,
1979: x_expenditure_id =>x_exp_id,
1980: x_expenditure_item_date
1981: =>prev_bcc_rec.source_exp_item_date ,

Line 2071: pa_transactions.InsItems(1,0,'BTC','BTC',i, status,'N');

2067: if ( i >= 500) then
2068: IF P_DEBUG_MODE THEN
2069: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1750:Call Insitems for i>=500');
2070: END IF;
2071: pa_transactions.InsItems(1,0,'BTC','BTC',i, status,'N');
2072:
2073: -- -----------------------------------------------------------------------
2074: -- OGM_0.0 - Interface for creating new ADLS for each expenditure Item
2075: -- created. This will create award distribution lines only when OGM is

Line 2078: -- pa_transactions.InsItemsis is in error.

2074: -- OGM_0.0 - Interface for creating new ADLS for each expenditure Item
2075: -- created. This will create award distribution lines only when OGM is
2076: -- installed for the ORG in process.
2077: -- The folowing procedure returns doing nothing if status returned from
2078: -- pa_transactions.InsItemsis is in error.
2079: -- ------------------------------------------------------------------------
2080: IF P_DEBUG_MODE THEN
2081: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1760:Call Vertical APPS interface for i>=500');
2082: END IF;

Line 2088: pa_transactions.FlushEiTabs();

2084: IF P_DEBUG_MODE THEN
2085: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1760:Call Vertical APPS interface for i>=500 END.');
2086: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1800:Call FlushEiTabs');
2087: END IF;
2088: pa_transactions.FlushEiTabs();
2089: IF P_DEBUG_MODE THEN
2090: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1850:Back from FlushEiTabs');
2091: END IF;
2092: i := 0;

Line 2343: /* Moved the derivation of work type id to here for bug 2607781 as it needs to be passed to pa_transactions_pub.validate_transaction */

2339: END IF;
2340: select pa_expenditure_items_s.nextval
2341: into exp_item_id from dual;
2342:
2343: /* Moved the derivation of work type id to here for bug 2607781 as it needs to be passed to pa_transactions_pub.validate_transaction */
2344: IF ( NVL(pa_utils4.is_exp_work_type_enabled, 'N') = 'Y' )
2345: THEN
2346: IF P_DEBUG_MODE THEN
2347: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '2110:Calling Get_work_type_id with Project_id [' ||

Line 2371: pa_transactions_pub.validate_transaction. Also passing null's for rate

2367: -- Ref Bug # : 609978
2368: --
2369: /*
2370: Multi-Curr Changes. Changed patc.get_status to
2371: pa_transactions_pub.validate_transaction. Also passing null's for rate
2372: attributes, the raw cost for BTC transactions is 0. The burdened costs are
2373: calculated using existing CDL's which are already converted.
2374: */
2375:

Line 2380: pa_transactions_pub.validate_transaction(

2376: IF P_DEBUG_MODE THEN
2377: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '2150:Process Last Set .. call PATC');
2378: END IF;
2379: /* modified for the Bug#1825827 */
2380: pa_transactions_pub.validate_transaction(
2381: x_project_id =>over_project_id,
2382: x_task_id =>over_task_id,
2383: x_ei_date =>prev_bcc_rec.source_exp_item_date,
2384: x_expenditure_type =>prev_bcc_rec.source_ind_expenditure_type,

Line 2446: /* Commenting this for bug 2607781 as work type id needs to be derived before the call to pa_transactions_pub.validate_transaction

2442: /*
2443: * AddEi Attributes - related change.
2444: * Deriving work_type_id.
2445: */
2446: /* Commenting this for bug 2607781 as work type id needs to be derived before the call to pa_transactions_pub.validate_transaction
2447: IF ( NVL(pa_utils4.is_exp_work_type_enabled, 'N') = 'Y' )
2448: THEN
2449: IF P_DEBUG_MODE THEN
2450: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '2245:Calling Get_work_type_id with Project_id [' ||

Line 2479: pa_transactions.LoadEi(

2475: -- BTC txns should not be cross charged, so setting cross charge code to X.
2476: IF P_DEBUG_MODE THEN
2477: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '2250:Process Last Set ..Call Loadei');
2478: END IF;
2479: pa_transactions.LoadEi(
2480: x_expenditure_item_id =>exp_item_id,
2481: x_expenditure_id =>x_exp_id,
2482: x_expenditure_item_date
2483: =>prev_bcc_rec.source_exp_item_date ,

Line 2569: pa_transactions.InsItems(1,0,'BTC','BTC',i, status,'N');

2565: if i > 0 then
2566: IF P_DEBUG_MODE THEN
2567: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '2300:Process Last Set ..Call Insitems');
2568: END IF;
2569: pa_transactions.InsItems(1,0,'BTC','BTC',i, status,'N');
2570:
2571: -- -----------------------------------------------------------------------
2572: -- OGM_0.0 - Interface for creating new ADLS for each expenditure Item
2573: -- created. This will create award distribution lines only when OGM is

Line 2576: -- pa_transactions.InsItems.

2572: -- OGM_0.0 - Interface for creating new ADLS for each expenditure Item
2573: -- created. This will create award distribution lines only when OGM is
2574: -- installed for the ORG in process.
2575: -- The folowing procedure returns doing nothing if status is in ERROR for
2576: -- pa_transactions.InsItems.
2577: -- ------------------------------------------------------------------------
2578: IF P_DEBUG_MODE THEN
2579: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1760:Call Vertical APPS interface for i>=500');
2580: END IF;

Line 2588: pa_transactions.FlushEiTabs();

2584: IF P_DEBUG_MODE THEN
2585: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '1760:Call Vertical APPS interface for i>=500 END.');
2586: pa_cc_utils.log_message('create_burden_expenditure_item: ' || '2350:Process Last Set ..Call Flusheitabs');
2587: END IF;
2588: pa_transactions.FlushEiTabs();
2589: i := 0;
2590: end if;
2591:
2592: /*<>.....bug# 2255068*/