DBA Data[Home] [Help]

PACKAGE: APPS.ARP_BILLS_RECEIVABLE_MAIN

Source


1 PACKAGE ARP_BILLS_RECEIVABLE_MAIN AS
2 /* $Header: ARBRACMS.pls 120.1 2002/11/15 01:47:45 anukumar ship $ */
3 
4 /* =======================================================================
5  | PUBLIC Data Types
6  * ======================================================================*/
7 SUBTYPE ae_doc_rec_type   IS ARP_ACCT_MAIN.ae_doc_rec_type;
8 SUBTYPE ae_event_rec_type IS ARP_ACCT_MAIN.ae_event_rec_type;
9 SUBTYPE ae_line_rec_type  IS ARP_ACCT_MAIN.ae_line_rec_type;
10 SUBTYPE ae_line_tbl_type  IS ARP_ACCT_MAIN.ae_line_tbl_type;
11 SUBTYPE ae_sys_rec_type   IS ARP_ACCT_MAIN.ae_sys_rec_type;
12 SUBTYPE ae_rule_rec_type  IS ARP_ACCT_MAIN.ae_app_rule_rec_type;
13 
14 /* =======================================================================
15  | PUBLIC Procedures/functions
16  * ======================================================================*/
17 
18 /* =======================================================================
19  | PROCEDURE Execute
20  |
21  | DESCRIPTION
22  | 	Accounting Entry Derivation Method
23  | 	----------------------------------
24  | 	This procedure is the Accounting Entry derivation method for all
25  | 	accounting events associated with the receivable applications
26  |      layer for Receipts and CM's.
27  |
28  | 	Functions of the AE Derivation Method are:
29  | 		- Single Entry Point for easy extensibility
30  | 		- Read Event Data
31  | 		- Read Transaction and Setup Data
32  | 		- Determine AE Lines affected
33  | 		- Derive AE Lines
34  | 		- Return AE Lines created in a PL/SQL table.
35  |
36  | PARAMETERS
37  | 	p_mode		IN	Document or Accounting Event mode
38  | 	p_ae_doc_rec	IN	Document Record
39  | 	p_ae_event_rec	IN	Event Record
40  | 	p_ae_line_tbl	OUT NOCOPY	AE Lines table
41  | 	p_ae_created	OUT NOCOPY	AE Lines creation status
42  * ======================================================================*/
43 PROCEDURE Execute( p_mode 		IN  VARCHAR2,
44 		   p_ae_doc_rec         IN  ae_doc_rec_type,
45 		   p_ae_event_rec 	IN  ae_event_rec_type,
46 		   p_ae_line_tbl 	OUT NOCOPY ae_line_tbl_type,
47 		   p_ae_created         OUT NOCOPY BOOLEAN);
48 
49 /* =======================================================================
50  | PROCEDURE Delete_Acct
51  |
52  | DESCRIPTION
53  | 	Deletes the accounting entry lines for a document
54  | 	--------------------------------------------------
55  | 	This procedure is the Accounting Entry deletion routine which
56  | 	deletes the accounting entries for Receipts from the
57  |      AR_DISTRIBUTIONS table.
58  |
59  | PARAMETERS
60  | 	p_mode		IN	Document or Accounting Event mode
61  | 	p_ae_doc_rec	IN	Document Record
62  | 	p_ae_event_rec	IN	Event Record
63  | 	p_ae_created	OUT NOCOPY	AE Lines creation status
64  * ======================================================================*/
65 PROCEDURE Delete_Acct( p_mode         IN      VARCHAR2,
66                        p_ae_doc_rec   IN OUT NOCOPY  ae_doc_rec_type,
67                        p_ae_event_rec IN      ae_event_rec_type,
68                        p_ae_deleted   OUT NOCOPY     BOOLEAN);
69 
70 END ARP_BILLS_RECEIVABLE_MAIN;