1 PACKAGE FA_BEGIN_MASS_TRX_PKG AUTHID CURRENT_USER AS
2 /* $Header: FAXBMTS.pls 120.3 2009/03/27 01:31:32 bridgway 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) RETURN BOOLEAN;
34
35
36 /*====================================================================================+
37 | Name: faxemt()
38 |
39 | Description:
40 | End Mass Transaction.
41 | Called by all mass transaction programs to reset the MASS_REQUEST_ID to NULL
42 | at the end of the mass process, but before the final commit and exit.
43 |
44 | Parameters:
45 | X_book - book_type_code for the transaction
46 | X_request_id - REQUEST_ID of the failed submission
47 |
48 | Returns:
49 | TRUE if no errors
50 |
51 | Notes:
52 |
53 +====================================================================================*/
54
55 FUNCTION faxemt (X_book IN VARCHAR2,
56 X_request_id IN NUMBER
57 , p_log_level_rec IN FA_API_TYPES.log_level_rec_type) RETURN BOOLEAN;
58
59
60 END FA_BEGIN_MASS_TRX_PKG;