DBA Data[Home] [Help]

PACKAGE: APPS.GL_IMPORT_HOOK_PKG

Source


1 PACKAGE gl_import_hook_pkg AUTHID CURRENT_USER AS
2 /* $Header: glujihks.pls 120.4 2005/05/05 01:40:01 kvora ship $ */
3 --
4 -- Package
5 --   gl_import_hook_pkg
6 -- Purpose
7 --   Handles hooks into the funds check preprocessor from other products
8 -- History
9 --   19-JUN-95  	D. J. Ogg	Created
10 --   28-FEB-00          D. J. Ogg       Added post_module_hook
11 
12   --
13   -- Procedure
14   --   pre_module_hook
15   -- Purpose
16   --   Hook into journal import for other products.
17   --   This procedure is called after journal import has selected
18   --   the sources to process, but before it has started processing the data.
19   --   If you need to use this hook, please add a call to your own
20   --   package before the return statement.  Please do NOT commit
21   --   your changes in your package.
22   -- Returns
23   --   TRUE - upon success (allows journal import to continue)
24   --   FALSE - upon failure (causes journal import to abort and display the
25   --			     error in errbuf)
26   -- History
27   --   19-JUN-95  D. J. Ogg    Created
28   -- Arguments
29   --   run_id		The import run id
30   --   errbuf		The error message printed upon error
31   -- Example
32   --   gl_import_hook_pkg.pre_module_hook(2, 100, errbuf);
33   -- Notes
34   --
35   FUNCTION pre_module_hook(run_id    IN     NUMBER,
36 			   errbuf    IN OUT NOCOPY VARCHAR2) RETURN BOOLEAN;
37 
38   --
39   -- Procedure
40   --   post_module_hook
41   -- Purpose
42   --   Hook into journal import for other products.
43   --   This procedure is called after journal import has inserted all of the
44   --   data into gl_je_batches, gl_je_headers, and gl_je_lines, but before
45   --   it does the final commit.
46   --   This routine is called once per 100 batches.
47   --   If you need to use this hook, please add a call to your own
48   --   package before the return statement.  Please do NOT commit
49   --   your changes in your package.
50   -- Returns
51   --   TRUE - upon success (allows journal import to continue)
52   --   FALSE - upon failure (causes journal import to abort and display the
53   --			     error in errbuf)
54   -- History
55   --   28-FEB-00  D. J. Ogg    Created
56   -- Arguments
57   --   batch_ids        A list of batch ids, separated by the separator
58   --   separator        The separator
59   --   last_set         Indicates whether or not this is the last set
60   --   errbuf		The error message printed upon error
61   -- Example
62   --   gl_import_hook_pkg.post_module_hook(2, 100, errbuf);
63   -- Notes
64   --
65   FUNCTION post_module_hook(batch_ids  IN     VARCHAR2,
66                             separator  IN     VARCHAR2,
67                             last_set   IN     BOOLEAN,
68 			    errbuf     IN OUT NOCOPY VARCHAR2) RETURN BOOLEAN;
69 
70 END gl_import_hook_pkg;