Example of Using Cost Plus API
This section provides you with an example of how to use the API to calculate the burden amount according to a specific business requirement.
Business Requirement: Determine the burden amount based on the following criteria.
Burden Schedule: CP burden schedule (burden schedule id: 60)
Effective Date: 03-MAR-94
Expenditure Type: Professional
Organization: Data Systems (Organization id: 18)
Raw Amount: 1,000
You would use the following PL/SQL procedure to obtain the burden
amount for this business requirement using the cost plus API.
pa_cost_plus.get_burden_amount(60,
'03-MAR-94',
'Professional',
18,
1000,
burden_amount,
burden_sch_rev_id,
compiled_set_id,
status,
stage);
if (status = 0) then
-- use the calculated burden_amount to implement your
-- business requirement
end if;