1 package PA_Client_Extn_Billing AUTHID CURRENT_USER as
2 /* $Header: PAXICTMS.pls 120.5 2006/07/25 06:37:30 lveerubh ship $ */
3 /*#
4 * This package is used as the basis of the labor billing extension procedures.
5 * @rep:scope public
6 * @rep:product PA
7 * @rep:lifecycle active
8 * @rep:displayname Labor Billing Extension
9 * @rep:compatibility S
10 * @rep:category BUSINESS_ENTITY PA_PROJECT
11 * @rep:category BUSINESS_ENTITY PA_REVENUE
12 * @rep:doccd 120pjapi.pdf See the Oracle Projects API's, Client Extensions, and Open Interfaces Reference
13 */
14
15 /*#
16 * This extension is used to calculate the bill amount.
17 * @param x_transaction_type Transaction type
18 * @rep:paraminfo {@rep:required}
19 * @param x_expenditure_item_id The identifier of the expenditure item
20 * @rep:paraminfo {@rep:required}
21 * @param x_sys_linkage_function The expenditure type class of the expenditure item
22 * @rep:paraminfo {@rep:required}
23 * @param x_amount The bill amount
24 * @rep:paraminfo {@rep:required}
25 * @param x_bill_rate_flag Flag indicating if bill rate should be set
26 * @rep:paraminfo {@rep:required}
27 * @param x_status The status of the procedure
28 * @rep:paraminfo {@rep:required}
29 * @param x_bill_trans_currency_code Identifier of the billing transaction currency for an expenditure
30 * item. If the value is null, then the project functional currency is used.
31 * @rep:paraminfo {@rep:required}
32 * @param x_bill_txn_bill_rate Bill rate in the billing transaction currency
33 * @rep:paraminfo {@rep:required}
34 * @param x_markup_percentage Markup percentage if markup is used to derive the bill amount
35 * @rep:paraminfo {@rep:required}
36 * @param x_rate_source_id Identifies the source from which the bill rate was derived. This
37 * is for audit purposes only.
38 * @rep:paraminfo {@rep:required}
39 * @rep:scope public
40 * @rep:lifecycle active
41 * @rep:displayname Calculate Bill Amount.
42 * @rep:compatibility S
43 */
44
45 procedure Calc_Bill_Amount(
46
47 x_transaction_type in varchar2 default 'ACTUAL',
48 x_expenditure_item_id in number,
49 x_sys_linkage_function in varchar2,
50 x_amount in out NOCOPY number,
51 x_bill_rate_flag in out NOCOPY varchar2,
52 x_status in out NOCOPY number,
53 x_bill_trans_currency_code out NOCOPY varchar2,
54 x_bill_txn_bill_rate out NOCOPY number,
55 x_markup_percentage out NOCOPY number,
56 x_rate_source_id out NOCOPY number);
57
58 end PA_Client_Extn_Billing;