DBA Data[Home] [Help]

PACKAGE: APPS.ARP_ADJUSTMENTS_MAIN

Source


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