DBA Data[Home] [Help]

APPS.PA_REV_CA dependencies on PA_BILLING_PUB

Line 207: -- This procedure is same as the public api pa_billing_pub.get_budget_amount

203: X_cost_accrued := NULL;
204: END GetCostWIP;
205: --
206: -- Procedure that returns the cost budget and revenue budget amount
207: -- This procedure is same as the public api pa_billing_pub.get_budget_amount
208: -- the only difference in this case the raw cost is used for cost budget amount
209: --
210: PROCEDURE get_budget_amount( X2_project_id NUMBER,
211: X2_task_id NUMBER DEFAULT NULL,

Line 501: pa_billing_pub.insert_message

497:
498: X_error_message := status;
499: X_status := l_status;
500:
501: pa_billing_pub.insert_message
502: (X_inserting_procedure_name =>'pa_rev_ca.get_budget_amount',
503: X_attribute1 => l_cost_budget_type_code,
504: X_attribute2 => l_rev_budget_type_code,
505: X_message => status,

Line 579: pa_billing_pub.insert_event (

575:
576: --
577: -- Use the public api to create reversing events for each row
578: --
579: pa_billing_pub.insert_event (
580: X_rev_amt => (-1) * r_rec.revenue_amount,
581: X_bill_amt => 0,
582: X_event_type =>r_rec.event_type ,
583: X_event_description => event_description,

Line 734: pa_billing_pub.insert_event (

730: --
731: l_event_set_id := 'CONTRA-' ||x_project_id||'-'||nvl(x_top_task_id,0)||'-'
732: ||nvl(x_request_id,0);
733: /** public api to insert event **/
734: pa_billing_pub.insert_event (
735: X_rev_amt => cost_accrual,
736: X_bill_amt => 0,
737: X_event_type =>g_ca_contra_event_type ,
738: X_event_description => event_description,

Line 764: pa_billing_pub.insert_event (

760: --
761: -- In order to debit the cost accrual account the event is created with
762: -- a negative of the cost accrual amount
763: --
764: pa_billing_pub.insert_event (
765: X_rev_amt => (-1) * cost_accrual,
766: X_bill_amt => 0,
767: X_event_description => event_description,
768: X_event_type => g_ca_event_type ,

Line 934: pa_billing_pub.insert_event (

930: --
931: /** public api to insert event **/
932:
933: IF cost_WIP <> 0 THEN /* Added for bug 3788835: if project doesnot have EIs then this would be 0 */
934: pa_billing_pub.insert_event (
935: X_rev_amt => cost_WIP,
936: X_bill_amt => 0,
937: X_event_type => g_ca_wip_event_type ,
938: X_event_description => event_description,

Line 964: pa_billing_pub.insert_event (

960:
961: --
962: -- Create event to close the cost accrual contra account
963: --
964: pa_billing_pub.insert_event (
965: X_rev_amt => cost_accrual_contra,
966: X_bill_amt => 0,
967: X_event_description => event_description,
968: X_event_type => g_ca_contra_event_type ,

Line 997: pa_billing_pub.insert_event (

993: to_char(cost_WIP,fnd_currency.get_format_mask(l_currency_code,30))
994: || ' + ' ||
995: to_char(cost_accrual_contra,fnd_currency.get_format_mask(l_currency_code,30));
996:
997: pa_billing_pub.insert_event (
998: X_rev_amt => cost_accrual,
999: X_bill_amt => 0,
1000: X_event_description => event_description,
1001: X_event_type => g_ca_event_type,

Line 1152: -- else use the public api in package pa_billing_pub

1148:
1149:
1150: -- gets the cost and revenue budget amounts
1151: -- if budget type = 'R' then call the procedure defined in this package
1152: -- else use the public api in package pa_billing_pub
1153: --
1154: IF g_ca_budget_type = 'R' THEN
1155: pa_rev_ca.get_budget_amount(
1156: X2_project_id => X_project_id,

Line 1167: pa_billing_pub.get_budget_amount(

1163: P_rev_plan_type_id => l_rev_plan_type_id, /* Added for fin plan impact */
1164: X_error_message => l_error_message,
1165: X_status => l_status);
1166: ELSE
1167: pa_billing_pub.get_budget_amount(
1168: X2_project_id => X_project_id,
1169: X2_task_id => X_top_task_id,
1170: X2_revenue_amount => budget_revenue,
1171: X2_cost_amount => budget_cost,