DBA Data[Home] [Help]

PACKAGE: APPS.GL_CALCULATE_TAX_PKG

Source


1 PACKAGE GL_CALCULATE_TAX_PKG as
2 /* $Header: glujetxs.pls 120.4 2005/05/05 01:39:48 kvora ship $ */
3 
4 --
5 -- Package
6 --   GL_CALCULATE_TAX_PKG
7 -- Purpose
8 --   To implement automatic taxing of journals for the Enter
9 --   Journals form
10 -- History
11 --   10-DEC-96  D J Ogg          Created
12 --
13 
14   --
15   -- Procedure
16   --   calculate
17   -- Purpose
18   --   Automatically generates tax lines for a manual journal
19   -- History
20   --   10-DEC-96  D. J. Ogg    Created
21   -- Arguments
22   --   tax_level			Indicates whether we are taxing
23   --					just the a journal or the entire
24   --					batch
25   --   batch_header_id			The header or batch id
26   --   header_id			If we are in batch mode and you want
27   --					the running totals for a header back,
28   --					the id of the header
29   --   resp_appl_id			The current resp appl id
30   --   resp_id				The current resp id
31   --   user_id				The current user id
32   --   login_id				The current login id
33   --   coa_id                           The current chart of accounts id
34   --   header_total_dr			Updated header running total dr
35   --   header_total_cr			Updated header running total cr
36   --   header_total_acc_dr		Updated header running total dr
37   --   header_total_acc_cr		Updated header running total cr
38   --   batch_total_dr			Updated batch running total dr
39   --   batch_total_cr			Updated batch running total cr
40   --   batch_total_acc_dr		Updated batch running total dr
41   --   batch_total_acc_cr		Updated batch running total cr
42   --   has_bad_accounts			Indicates whether one or more tax
43   --					accounts were bad
44   -- Notes
45   --
46   PROCEDURE calculate(	tax_level			VARCHAR2,
47 			batch_header_id			NUMBER,
48 			disp_header_id			NUMBER DEFAULT NULL,
49 			resp_appl_id			NUMBER,
50 			resp_id				NUMBER,
51 			user_id				NUMBER,
52 			login_id			NUMBER,
53 			coa_id				NUMBER,
54 			header_total_dr		IN OUT NOCOPY	NUMBER,
55 			header_total_cr		IN OUT NOCOPY 	NUMBER,
56 			header_total_acc_dr	IN OUT NOCOPY	NUMBER,
57 			header_total_acc_cr	IN OUT NOCOPY 	NUMBER,
58 			batch_total_dr		IN OUT NOCOPY	NUMBER,
59 			batch_total_cr		IN OUT NOCOPY	NUMBER,
60 			batch_total_acc_dr	IN OUT NOCOPY	NUMBER,
61 			batch_total_acc_cr	IN OUT NOCOPY	NUMBER,
62 			has_bad_accounts	IN OUT NOCOPY	BOOLEAN);
63 
64 END GL_CALCULATE_TAX_PKG;