DBA Data[Home] [Help]

APPS.PA_ADJUSTMENTS dependencies on PA_UTILS4

Line 2353: l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;

2349: print_message ('get_denom_curr_code: ' || 'after select l_old_work_type_id ['||l_old_work_type_id||
2350: ']l_gl_accounted_flag['||l_gl_accounted_flag||']l_old_billability['||l_old_billability||']' );
2351: END IF;
2352:
2353: l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;
2354:
2355: If l_profile_option = 'Y' and l_proj_type_class_code in ('CAPITAL','CONTRACT') then
2356:
2357:

Line 2358: l_new_billability := PA_UTILS4.get_trxn_work_billabilty

2354:
2355: If l_profile_option = 'Y' and l_proj_type_class_code in ('CAPITAL','CONTRACT') then
2356:
2357:
2358: l_new_billability := PA_UTILS4.get_trxn_work_billabilty
2359: (p_work_type_id => p_work_type_id
2360: ,p_tc_extn_bill_flag => NULL );
2361:
2362: /*** Commented out this portion due to following issue

Line 2367: l_old_billability := PA_UTILS4.get_trxn_work_billabilty

2363: ** Initially set the work type profile to 'N' and transaction is entered with billability = 'Y'
2364: ** Now set the work type profile to 'Y', As the old and new worktype results no change in billability
2365: ** then EI will never be updated with the billablity change . in order to fix this
2366: ** donot derive old billabity based on worktype
2367: l_old_billability := PA_UTILS4.get_trxn_work_billabilty
2368: (p_work_type_id => l_old_work_type_id
2369: ,p_tc_extn_bill_flag => NULL );
2370: **/
2371:

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

2381: l_change_in_billable := 'N';
2382:
2383: End if;
2384:
2385: --l_profile_option := pa_utils4.IS_WORKTYPE_BILLABLE_ENABLED ;
2386:
2387: IF P_DEBUG_MODE THEN
2388: print_message('get_denom_curr_code: ' || 'l_old_billability['||l_old_billability||
2389: ']l_new_billability['||l_new_billability||

Line 2485: ,ei.tp_amt_type_code = PA_UTILS4.get_tp_amt_type_code

2481: ,ei.billable_flag = decode(l_change_in_billable,'Y',l_new_billability,ei.billable_flag)
2482: ,ei.last_updated_by = p_user
2483: ,ei.last_update_date = sysdate
2484: ,ei.last_update_login = p_login
2485: ,ei.tp_amt_type_code = PA_UTILS4.get_tp_amt_type_code
2486: (p_work_type_id)
2487: ,cc_bl_distributed_code = DECODE(p_dest_tp_amt_type_code, p_TpAmtTypCodeTab(i),
2488: cc_bl_distributed_code,
2489: decode(cc_bl_distributed_code,'X','X','N'))

Line 3716: Pa_Utils4.Get_Work_Assignment (

3712: IF P_DEBUG_MODE THEN
3713: print_message('get_denom_curr_code: ' || 'calling get work type assignment api');
3714: END IF;
3715: /** derive work type and assignment for the destination task , project **/
3716: Pa_Utils4.Get_Work_Assignment (
3717: p_person_id => EiRec.inc_by_person_id
3718: ,p_project_id => X_dest_prj_id
3719: ,p_task_id => X_dest_task_id
3720: ,p_ei_date => EiRec.expenditure_item_date

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

6402: /* Bug 5364389 - Start */
6403: if v_allow_adjustments = 'N'
6404: and x_adj_action in ( 'CHANGE WORK TYPE ATTRIBUTE')
6405: and l_allow_adjustments_flag = 'N'
6406: and NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag then
6407: v_allow_adjustments := 'PA_TR_APE_NO_ADJUST';
6408: end if;
6409: /* Bug 5364389 - End */
6410:

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

6710: , 'NON-CAPITALIZABLE RECLASS'
6711: , 'RAW COST RECALC'
6712: , 'COST AND REV RECALC')
6713: OR ( X_adj_action = 'CHANGE WORK TYPE ATTRIBUTE'
6714: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN
6715:
6716: IF NVL(FND_PROFILE.VALUE('PA_ALLOW_RCV_ERV_ADJ_WHEN_JOURNAL_CONVERT'), 'N') = 'N'
6717: AND RepCurrOrSecLedgerDiffCurr(v_exp_org_id) THEN
6718:

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

6741: , 'NON-CAPITALIZABLE RECLASS'
6742: , 'RAW COST RECALC'
6743: , 'COST AND REV RECALC')
6744: OR ( X_adj_action = 'CHANGE WORK TYPE ATTRIBUTE'
6745: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN
6746:
6747: IF pa_adjustments.is_recoverability_affected
6748: (p_expenditure_item_id => v_expenditure_item_id
6749: ,p_org_id => v_exp_org_id

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

6787: , 'NON-CAPITALIZABLE RECLASS'
6788: , 'RAW COST RECALC'
6789: , 'COST AND REV RECALC')
6790: OR ( X_adj_action = 'CHANGE WORK TYPE ATTRIBUTE'
6791: AND NVL(PA_UTILS4.get_trxn_work_billabilty(p_dest_work_type_id, NULL),l_billable_flag) <> l_billable_flag)) THEN
6792:
6793: IF NOT pa_adjustments.Allow_Adjust_with_Auto_Offset
6794: (p_expenditure_item_id => v_expenditure_item_id
6795: ,p_org_id => v_exp_org_id

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

9919:
9920: BEGIN
9921:
9922: /* Bug 5006835 - Start */
9923: IF PA_UTILS4.get_ledger_cash_basis_flag = 'Y' THEN
9924:
9925: /* Bug 5551933 - Start */
9926: IF p_transaction_source = 'AP DISCOUNTS' THEN
9927: