DBA Data[Home] [Help]

PACKAGE: APPS.GCS_TRANSLATION_PKG

Source


1 PACKAGE GCS_TRANSLATION_PKG AS
2 /* $Header: gcsxlats.pls 120.2 2006/02/03 23:57:59 mikeward noship $ */
3 
4 --
5 -- PUBLIC EXCEPTIONS
6 --
7 
8   GCS_CCY_SUBPROGRAM_RAISED	EXCEPTION;
9 
10 --
11 -- PUBLIC GLOBAL VARIABLES
12 --
13   -- Holds fnd_global.user_id and login_id
14   g_fnd_user_id		NUMBER;
15   g_fnd_login_id	NUMBER;
16 
17   -- Attribute ID's for the dimension attributes to be used in this program.
18   -- Include CAL_PERIOD_END_DATE, NAT_ACCT_EXTENDED_ACCT_TYPE and
19   -- DATASET_BALANCE_TYPE_CODE.
20   g_cp_end_date_attr_id		NUMBER;
21   g_li_acct_type_attr_id	NUMBER;
22   g_xat_sign_attr_id		NUMBER;
23   g_xat_basic_acct_type_attr_id	NUMBER;
24 
25   -- These are the associated version id's
26   g_cp_end_date_v_id		NUMBER;
27   g_li_acct_type_v_id		NUMBER;
28   g_xat_sign_v_id		NUMBER;
29   g_xat_basic_acct_type_v_id	NUMBER;
30 
31   -- For holding error text
32   g_error_text	VARCHAR2(32767);
33 
34 --
35 -- Package
36 --   gcs_translation_pkg
37 -- Purpose
38 --   Package procedures for the Translation Program
39 -- History
40 --   11-AUG-03	M Ward		Created
41 --
42   --
43   -- Procedure
44   --   Translate
45   -- Purpose
46   --   Translates balances to the target currency within the FEM balances
47   --   table.
48   -- Arguments
49   --   p_cal_period_id		The period being translated
50   --   p_cons_relationship_id	Relationship, giving the parent, child, and
51   --				hierarchy information.
52   --   p_translation_mode	'INCREMENTAL' or 'FULL' translation.
53   --   p_dataset_code		Dataset of the information in the entry.
54   --   p_new_entry_id		Entry ID to be used on the created entry.
55   -- Example
56   --   GL_TRANSLATION_PKG.Translate(1, 2, 'FULL')
57   -- Notes
58   --
59   PROCEDURE Translate(
60 	x_errbuf	OUT NOCOPY	VARCHAR2,
61 	x_retcode	OUT NOCOPY	VARCHAR2,
62 	p_cal_period_id		NUMBER,
63 	p_cons_relationship_id	NUMBER,
64 	p_balance_type_code	VARCHAR2,
65         p_hier_dataset_code	NUMBER,
66 	p_new_entry_id		NUMBER);
67 
68 END GCS_TRANSLATION_PKG;