1 PACKAGE FA_BEGIN_MASS_TRX_PKG AS
2 /* $Header: FAXBMTS.pls 120.2 2005/06/24 16:57:05 snarayan ship $ */
3
4 /*====================================================================================+
5 | Name: faxbmt()
6 |
7 | Description:
8 | Called by all mass transaction programs. It checks that the transaction is
9 | allowed. If it is then it updates FA_BOOK_CONTROLS to prevent any further
10 | transactions. If the transaction is not allowed, the request is re-submitted
11 | and the function returns FALSE.
12 | Looks at the executable name to determine transaction type.
13 | Current "special" executables:
14 | FAMAPT - Can cause RECLASSes.
15 | FAMTFR - Causes TRANSFERs
16 | FAMRCL - Causes RECLASSes.
17 |
18 | Parameters:
19 | X_book - book_type_code for the transaction
20 | X_request_id - ID or Mass Request asking for approval
21 | X_result - OUT NOCOPY parameter. Indicates whether transaction is allowed.
22 |
23 | Returns:
24 | TRUE if no errors
25 |
26 | Notes:
27 |
28 +====================================================================================*/
29
30 FUNCTION faxbmt (X_book IN VARCHAR2,
31 X_request_id IN NUMBER,
32 X_result IN OUT NOCOPY BOOLEAN,
33 p_log_level_rec in fa_api_types.log_level_rec_type default null
34 ) RETURN BOOLEAN;
35
36
37 /*====================================================================================+
38 | Name: faxemt()
39 |
40 | Description:
41 | End Mass Transaction.
42 | Called by all mass transaction programs to reset the MASS_REQUEST_ID to NULL
43 | at the end of the mass process, but before the final commit and exit.
44 |
45 | Parameters:
46 | X_book - book_type_code for the transaction
47 | X_request_id - REQUEST_ID of the failed submission
48 |
49 | Returns:
50 | TRUE if no errors
51 |
52 | Notes:
53 |
54 +====================================================================================*/
55
56 FUNCTION faxemt (X_book IN VARCHAR2,
57 X_request_id IN NUMBER,
58 p_log_level_rec in fa_api_types.log_level_rec_type default null
59 ) RETURN BOOLEAN;
60
61
62 END FA_BEGIN_MASS_TRX_PKG;