DBA Data[Home] [Help]

APPS.PA_ADJUSTMENTS dependencies on PA_UTILS4

Line 2409: l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;

2405: print_message ('get_denom_curr_code: ' || 'after select l_old_work_type_id ['||l_old_work_type_id||
2406: ']l_gl_accounted_flag['||l_gl_accounted_flag||']l_old_billability['||l_old_billability||']' );
2407: END IF;
2408:
2409: l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;
2410:
2411: If l_profile_option = 'Y' and l_proj_type_class_code in ('CAPITAL','CONTRACT') then
2412:
2413:

Line 2414: l_new_billability := PA_UTILS4.get_trxn_work_billabilty

2410:
2411: If l_profile_option = 'Y' and l_proj_type_class_code in ('CAPITAL','CONTRACT') then
2412:
2413:
2414: l_new_billability := PA_UTILS4.get_trxn_work_billabilty
2415: (p_work_type_id => p_work_type_id
2416: ,p_tc_extn_bill_flag => NULL );
2417:
2418: /*** Commented out this portion due to following issue

Line 2423: l_old_billability := PA_UTILS4.get_trxn_work_billabilty

2419: ** Initially set the work type profile to 'N' and transaction is entered with billability = 'Y'
2420: ** Now set the work type profile to 'Y', As the old and new worktype results no change in billability
2421: ** then EI will never be updated with the billablity change . in order to fix this
2422: ** donot derive old billabity based on worktype
2423: l_old_billability := PA_UTILS4.get_trxn_work_billabilty
2424: (p_work_type_id => l_old_work_type_id
2425: ,p_tc_extn_bill_flag => NULL );
2426: **/
2427:

Line 2441: --l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;

2437: l_change_in_billable := 'N';
2438:
2439: End if;
2440:
2441: --l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;
2442:
2443: IF P_DEBUG_MODE THEN
2444: print_message('get_denom_curr_code: ' || 'l_old_billability['||l_old_billability||
2445: ']l_new_billability['||l_new_billability||

Line 2542: ,ei.tp_amt_type_code = PA_UTILS4.get_tp_amt_type_code

2538: ,ei.billable_flag = decode(l_change_in_billable,'Y',l_new_billability,ei.billable_flag)
2539: ,ei.last_updated_by = p_user
2540: ,ei.last_update_date = sysdate
2541: ,ei.last_update_login = p_login
2542: ,ei.tp_amt_type_code = PA_UTILS4.get_tp_amt_type_code
2543: (p_work_type_id)
2544: ,cc_bl_distributed_code = DECODE(p_dest_tp_amt_type_code, p_TpAmtTypCodeTab(i),
2545: cc_bl_distributed_code,
2546: decode(cc_bl_distributed_code,'X','X','N'))

Line 3810: Pa_Utils4.Get_Work_Assignment (

3806: IF P_DEBUG_MODE THEN
3807: print_message('get_denom_curr_code: ' || 'calling get work type assignment api');
3808: END IF;
3809: /** derive work type and assignment for the destination task , project **/
3810: Pa_Utils4.Get_Work_Assignment (
3811: p_person_id => EiRec.inc_by_person_id
3812: ,p_project_id => X_dest_prj_id
3813: ,p_task_id => X_dest_task_id
3814: ,p_ei_date => EiRec.expenditure_item_date

Line 6570: and NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag then

6566: /* Bug 5364389 - Start */
6567: if v_allow_adjustments = 'N'
6568: and x_adj_action in ( 'CHANGE WORK TYPE ATTRIBUTE')
6569: and l_allow_adjustments_flag = 'N'
6570: and NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag then
6571: v_allow_adjustments := 'PA_TR_APE_NO_ADJUST';
6572: end if;
6573: /* Bug 5364389 - End */
6574:

Line 6878: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN

6874: , 'NON-CAPITALIZABLE RECLASS'
6875: , 'RAW COST RECALC'
6876: , 'COST AND REV RECALC')
6877: OR ( X_adj_action = 'CHANGE WORK TYPE ATTRIBUTE'
6878: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN
6879:
6880: IF NVL(FND_PROFILE.VALUE('PA_ALLOW_RCV_ERV_ADJ_WHEN_JOURNAL_CONVERT'), 'N') = 'N'
6881: AND RepCurrOrSecLedgerDiffCurr(v_exp_org_id) THEN
6882:

Line 6909: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN

6905: , 'NON-CAPITALIZABLE RECLASS'
6906: , 'RAW COST RECALC'
6907: , 'COST AND REV RECALC')
6908: OR ( X_adj_action = 'CHANGE WORK TYPE ATTRIBUTE'
6909: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN
6910:
6911: IF pa_adjustments.is_recoverability_affected
6912: (p_expenditure_item_id => v_expenditure_item_id
6913: ,p_org_id => v_exp_org_id

Line 6956: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN

6952: , 'NON-CAPITALIZABLE RECLASS'
6953: , 'RAW COST RECALC'
6954: , 'COST AND REV RECALC')
6955: OR ( X_adj_action = 'CHANGE WORK TYPE ATTRIBUTE'
6956: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN
6957:
6958: IF NOT pa_adjustments.Allow_Adjust_with_Auto_Offset
6959: (p_expenditure_item_id => v_expenditure_item_id
6960: ,p_org_id => v_exp_org_id

Line 10206: IF PA_UTILS4.get_ledger_cash_basis_flag = 'Y' THEN

10202:
10203: BEGIN
10204:
10205: /* Bug 5006835 - Start */
10206: IF PA_UTILS4.get_ledger_cash_basis_flag = 'Y' THEN
10207:
10208: /* Bug 5551933 - Start */
10209: IF p_transaction_source = 'AP DISCOUNTS' THEN
10210: