1 PACKAGE IBY_EXTENSIBILITY_CALLOUTS_PUB AUTHID CURRENT_USER AS
2 /*$Header: ibyextcs.pls 120.1.12020000.2 2012/07/12 14:51:56 sgogula ship $*/
3
4 /*--------------------------------------------------------------------
5 | NAME:
6 | isCentralBankReportingRequired
7 |
8 |
9 | PURPOSE:
10 | This function can be overriden by customers to implement complex
11 | and country/bank specific central bank reporting requirements. The payment
12 | engine (payment build program) will call this function for each
13 | payments it creates; this function should determine if the central bank
14 | reporting is required for the payment based on factors such as
15 | payment amount limit, payer/payee residency classification, payer/payee
16 | bank account residency classification, transaction currency classification, etc.
17 |
18 | This function will be called only when the central bank reporting is enabled
19 | (in the payment process profile setup UI).
20 |
21 | The default implementation returns 'X'. This means the reporting condition
22 | would be determined by the conditions entered in the payment process profile
23 | setup UI. Otherwise if the function returns either 'Y' or 'N', it will
24 | override the conditions entered in the UI. 'Y' means central bank reporting
25 | is required for the payment; 'N' means not.
26 |
27 | PARAMETERS:
28 | IN
29 | p_payment_id: pk of the payment record. Implementor can use this pk to
30 | retrieve all related entities of the payment - i.e., payer/payee, internal
31 | and external bank accounts, etc. to determine if the central bank reporting
32 | is required.
33 |
34 | OUT
35 | x_return_status: standard FND API return status.
36 |
37 | RETURNS:
38 | A flag of 'X', 'Y', 'N' as noted above.
39 |
40 | NOTES:
41 | For customization
42 |
43 *---------------------------------------------------------------------*/
44 FUNCTION isCentralBankReportingRequired(
45 p_payment_id IN NUMBER,
46 x_return_status OUT NOCOPY VARCHAR2
47 ) RETURN VARCHAR2;
48
49
50 /*--------------------------------------------------------------------
51 | NAME:
52 | isCentralBankReportingRequired
53 |
54 |
55 | PURPOSE:
56 | This function can be overriden by customers to implement complex
57 | and country/bank specific central bank reporting requirements. The payment
58 | engine (payment build program) will call this function for each
59 | payments it creates; this function should determine if the central bank
60 | reporting is required for the payment based on factors such as
61 | payment amount limit, payer/payee residency classification, payer/payee
62 | bank account residency classification, transaction currency classification, etc.
63 |
64 | This function will be called only when the central bank reporting is enabled
65 | (in the payment process profile setup UI).
66 |
67 | The default implementation returns 'X'. This means the reporting condition
68 | would be determined by the conditions entered in the payment process profile
69 | setup UI. Otherwise if the function returns either 'Y' or 'N', it will
70 | override the conditions entered in the UI. 'Y' means central bank reporting
71 | is required for the payment; 'N' means not.
72 |
73 | PARAMETERS:
74 | IN
75 | p_payment_id: pk of the payment record. Implementor can use this pk to
76 | retrieve all related entities of the payment - i.e., payer/payee, internal
77 | and external bank accounts, etc. to determine if the central bank reporting
78 | is required.
79 |
80 | IN
81 | p_trx_cbr_index: pmtTable index being passed in the overloaded procedure
82 |
83 | OUT
84 | x_return_status: standard FND API return status.
85 |
86 | RETURNS:
87 | A flag of 'X', 'Y', 'N' as noted above.
88 |
89 | NOTES:
90 | For customization
91 |
92 *---------------------------------------------------------------------*/
93 FUNCTION isCentralBankReportingRequired(
94 p_payment_id IN NUMBER,
95 p_trx_cbr_index IN BINARY_INTEGER,
96 x_return_status OUT NOCOPY VARCHAR2
97 ) RETURN VARCHAR2;
98
99
100 END IBY_EXTENSIBILITY_CALLOUTS_PUB;
101