1 PACKAGE AR_BR_CANCEL_UNPAID_API_PUB AUTHID CURRENT_USER AS
2 /* $Header: ARBRUOCS.pls 120.7 2005/05/21 19:13:02 apandit ship $*/
3 /*#
4 * Unpaid Bill API sets the status for each unpaid bill receivable to
5 * Unpaid or Canceled based on the Cancel Bill Receivable Flag value.
6 * It validates the BR number and status and calls the accounting engine
7 * to perform the appropriate accounting.
8 * @rep:scope public
9 * @rep:product AR
10 * @rep:lifecycle active
11 * @rep:displayname Unpaid Bill
12 * @rep:category BUSINESS_ENTITY AR_BILLS_RECEIVABLE
13 */
14
15 /*#
16 * This procedure is the main procedure for the Unpaid Bill API.
17 * @param p_api_version API version
18 * @param p_init_msg_list Initialization of the message list
19 * @param p_commit Commit
20 * @param p_validation_level Validation level
21 * @param p_customer_trx_id Bill Receivable transaction ID
22 * @param p_cancel_flag Cancel Bill Receivable flag
23 * @param p_reason Reason
24 * @param p_gl_date GL date
25 * @param p_comments Comments
26 * @param p_org_id Org ID
27 * @rep:scope public
28 * @rep:lifecycle active
29 * @rep:displayname Set Bill Receivable -as Canceled or Unpaid
30 */
31
32 PROCEDURE CANCEL_OR_UNPAID(
33 x_return_status OUT NOCOPY VARCHAR2,
34 x_msg_count OUT NOCOPY NUMBER,
35 x_msg_data OUT NOCOPY VARCHAR2,
36 p_api_version IN NUMBER,
37 p_init_msg_list IN VARCHAR2 default FND_API.G_FALSE,
38 p_commit IN VARCHAR2 default FND_API.G_FALSE,
39 p_validation_level IN NUMBER default FND_API.G_VALID_LEVEL_FULL,
40
41 p_customer_trx_id IN NUMBER,
42 p_cancel_flag IN VARCHAR2,
43 p_reason IN VARCHAR2,
44 p_gl_date IN DATE,
45 p_comments IN VARCHAR2,
46 p_org_id IN NUMBER default null,
47 x_bill_status OUT NOCOPY VARCHAR2
48
49 );
50
51
52 END AR_BR_CANCEL_UNPAID_API_PUB;