Professional Documents
Culture Documents
This document is not a promise to deliver and may not be included as part of any contract.
1. Document Information
1.2 Contributors
1.3 Reviewers
Document Information Oracle Confidential - For internal use only Page iii of 62
6.2.1 PL/SQL Procedure...................................................................................................... 26
6.2.2 Parameter Descriptions ............................................................................................... 27
6.2.3 UI Mappings ............................................................................................................... 29
6.3 CE_BANK_PUB.check_branch_exist.................................................................................. 30
6.3.1 PL/SQL Procedure...................................................................................................... 30
6.3.2 Parameter Descriptions ............................................................................................... 31
6.4 CE_BANK_PUB.set_bank_branch_end_date ...................................................................... 32
6.4.1 PL/SQL Procedure...................................................................................................... 32
6.4.2 Parameter Descriptions ............................................................................................... 33
7. BANK ACCOUNT APIs .....................................................................................34
7.1 PL/SQL Record Structure for Bank Account........................................................................ 34
7.2 CE_BANK_PUB.create_bank_acct...................................................................................... 35
7.2.1 PL/SQL Procedure...................................................................................................... 35
7.2.2 Parameter Descriptions ............................................................................................... 36
7.2.3 UI Mappings ............................................................................................................... 41
7.3 CE_BANK_PUB.update_bank_acct..................................................................................... 43
7.3.1 PL/SQL Procedure...................................................................................................... 43
7.3.2 Parameter Descriptions ............................................................................................... 44
7.3.3 UI Mappings ............................................................................................................... 49
8. BANK ACCOUNT USE APIs.............................................................................50
8.1 PL/SQL Record Structure for Bank Account Use................................................................. 50
8.2 CE_BANK_PUB. create_bank_acct_use.............................................................................. 51
8.2.1 PL/SQL Procedure...................................................................................................... 51
8.2.2 Parameter Descriptions ............................................................................................... 51
8.2.3 UI Mappings ............................................................................................................... 56
8.3 CE_BANK_PUB.update_bank_acct_use ............................................................................. 57
8.3.1 PL/SQL Procedure...................................................................................................... 57
8.3.2 Parameter Descriptions ............................................................................................... 58
8.3.3 UI Mappings ............................................................................................................... 61
9. Error Message Description .................................................................................62
This document outlines the specifications and the methodology for using the various Cash Management Public APIs.
These APIs provide an extension to existing functionality of creating and manipulating banks, bank branches and bank
accounts. These APIs can be accessed using standard PL/SQL server-side routine calls. The document also provides an
exhaustive list of error messages that are returned by various API’s(see section 9)
The Cash Management Public API provides the following basic functionality using different API calls:
1. Creating and updating a Bank.
2. Checking if a bank already exists in the application or not.
3. End dating a bank.
4. Creating and updating a bank branch.
5. Checking if a bank branch already exists in the application or not.
6. End dating a bank branch.
7. Creating and updating a bank account.
8. Creating and updating the bank account uses.
Applications in the Oracle E-Business Suite use the TCA public APIs to insert and update entities in the TCA model.
The following table illustrates the integration between TCA APIs and the Cash Management APIs. Please note that
banks and bank branches are TCA parties in R12. Cash Management provides and interface through which these parties
are created and updated. The tables which store the data are all TCA (HZ) tables.
Integration with Trading Community Architecture (TCA) APIsOracle Confidential - For internal use only Page 6 of 62
4. Major Features
The x_msg_count variable contains the number of messages in the message list. If the count is one, then the x_msg_data
variable holds the encoded message.
These parameters have been referred to as Output-Standard API Parameters throughout the document
Note:
i) The profile option ‘CE: Disable Bank Validations’ can be set at the user or responsibility level. The
application context should also be set accordingly.
ii) The option to disable the country specific validations is available by applying the patch of the bug
7582842.
Each of these APIs is organized into API overview, PL/SQL procedure, Parameter descriptions and UI Mappings
section. The Error key messages described in the Parameter descriptions section of the API have been expanded and
message text is given at the end of the document.
5.1 CE_BANK_PUB.create_bank
This API is used to create a bank. The create_bank API calls the HZ_BANK_PUB.create_bank API to create the bank as
an Organization in the HZ_PARTIES table. On successful creation of bank, the API returns the bank party id along with
the information/error messages. The API returns a null bank party id if the bank is not created. This API has 4 output and
34 input parameters in total. Based on the type, the following is the breakdown of the parameters:
Input
Standard API parameters: 1
Application parameters: 8 + 25 (descriptive flexfield record parameters)
Output
Standard API parameters: 3
Application parameters: 1
CE_BANK_PUB.create_bank (
p_init_msg_list,
p_country_code,
p_bank_name ,
p_bank_number ,
p_alternate_bank_name ,
p_short_bank_name,
p_description ,
p_tax_payer_id ,
p_tax_registration_number ,
p_attribute_category ,
p_attribute1 ,
p_attribute2 ,
p_attribute3 ,
p_attribute4 ,
p_attribute5 ,
p_attribute6 ,
p_attribute7 ,
p_attribute8 ,
p_attribute9 ,
p_attribute10 ,
p_attribute11 ,
p_attribute12 ,
p_attribute13 ,
p_attribute14 ,
p_attribute15 ,
p_attribute16 ,
p_attribute17 ,
p_attribute18 ,
p_attribute19 ,
p_attribute20 ,
p_attribute21 ,
p_attribute22 ,
p_attribute23 ,
p_attribute24,
x_bank_id ,
x_return_status,
x_msg_count,
x_msg_data
);
Note: The user can crosscheck if the bank is successfully created in the application or not by querying the bank details in
ce_banks_v database view.
Validation:
• Mandatory attribute
• Validated against value in the
database for
IN the existing party record
p_object_version_number
OUT Comment:
• Pass the current
object_version_number of
the record from hz_parties
• Return new value after update
The return status of the API, informs
the caller about the result of the
x_return_status OUT VARCHAR2
operation or operations performed by
the API
Number of messages in the FND
x_msg_count OUT NUMBER
message stack
If the count for x_msg_count is one,
then the
x_msg_data OUT VARCHAR2
x_msg_data column holds the encoded
message
Case 1. If a value other than null is passed for p_bank_name field, API searches the bank based on its name without
taking into account the bank number p_bank_number. In this case the p_bank_number field is not used anywhere.
This API has 2 output and 3 input parameters in total. Based on the type, the following is the breakdown of the
parameters:
Input
Standard API parameters: 0
Application parameters: 3
Output
Standard API parameters: 0
Application parameters: 2
Input
Standard API parameters: 1
Application parameters: 2
Output
Standard API parameters: 3
Application parameters: 0
Input/Output
Standard API parameters: 1
6.1 CE_BANK_PUB.create_bank_branch
This API is used to create a bank branch. The create_bank_branch API calls the HZ_BANK_PUB.create_bank_branch
API to create the bank branch as an Organization in the HZ_PARTIES table. On successful creation of bank, the API
return the bank party id along with the information /error messages. The API returns a null bank branch party id if the
bank branch is not created. This API has 4 output and 35 input parameters in total. Based on the type, the following is
the breakdown of the parameters:
Input
Standard API parameters: 1
Application parameters: 9 + 25 (descriptive flexfield record parameters)
Output
Standard API parameters: 3
Application parameters: 1
CE_BANK_PUB.create_bank_branch (
p_init_msg_list,
p_bank_id,
p_branch_name,
p_branch_number,
p_branch_type,
p_alternate_branch_name,
p_description,
p_bic,
p_eft_number,
p_rfc_identifier,
p_attribute_category,
p_attribute1,
p_attribute2,
p_attribute3,
p_attribute4,
p_attribute5,
p_attribute6,
p_attribute7,
p_attribute8,
p_attribute9,
p_attribute10,
p_attribute11,
p_attribute12,
p_attribute13,
p_attribute14,
p_attribute15,
p_attribute16,
p_attribute17,
p_attribute18,
p_attribute19,
p_attribute20,
p_attribute21,
p_attribute22,
p_attribute23,
p_attribute24,
x_branch_id,
x_return_status,
x_msg_count,
x_msg_data
);
BANK BRANCH APIs Oracle Confidential - For internal use only Page 22 of 62
6.1.2 Parameter Descriptions
BANK BRANCH APIs Oracle Confidential - For internal use only Page 23 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
p_attribute12 IN VARCHAR2 No NULL
p_attribute13 IN VARCHAR2 No NULL
p_attribute14 IN VARCHAR2 No NULL
p_attribute15 IN VARCHAR2 No NULL
p_attribute16 IN VARCHAR2 No NULL
p_attribute17 IN VARCHAR2 No NULL
p_attribute18 IN VARCHAR2 No NULL
p_attribute19 IN VARCHAR2 No NULL
p_attribute20 IN VARCHAR2 No NULL
p_attribute21 IN VARCHAR2 No NULL
p_attribute22 IN VARCHAR2 No NULL
p_attribute23 IN VARCHAR2 No NULL
p_attribute24 IN VARCHAR2 No NULL
The Party ID for the bank branch or the
x_branch_id OUT NUMBER bank_branch_id is returned on successful
bank branch creation
The return status of the API, informs the
x_return_status OUT VARCHAR2 caller about the result of the operation or
operations performed by the API
Number of messages in the FND message
x_msg_count OUT NUMBER
stack
If the count for x_msg_count is one, then the
x_msg_data OUT VARCHAR2 x_msg_data column holds the encoded
message
Note: The parameter values for create_bank_branch should pass the below check
• A unique combination of bank number, bank branch number, and country else the API gives the error
HZ_BANK_NONUNIQUE_NUMBER.
• A unique combination of bank name and bank branch name else the API gives the error
HZ_BANK_NONUNIQUE_NAME.
The user can crosscheck if the bank branch is successfully created in the application or not by querying the bank
branch details in ce_bank_branches_v database view.
BANK BRANCH APIs Oracle Confidential - For internal use only Page 24 of 62
6.1.3 UI Mappings
The below screen-shot shows the mapping of create_bank_branch API parameters with the UI fields of Create Bank
Branch: Bank Branch Information Page.
BANK BRANCH APIs Oracle Confidential - For internal use only Page 25 of 62
6.2 CE_BANK_PUB.update_bank_branch
This API is used to update a bank branch already exising in the application. The update_bank _branchAPI calls the
HZ_BANK_PUB.update_bank_branch API to update the bank details of bank in the HZ_PARTIES table. On successful
update of bank branch, the API return the information /error messages. This API has 3 output, 36 input and 4 input/output
parameters in total. Based on the type, the following is the breakdown of the parameters:
Input
Standard API parameters: 1
Application parameters: 10 + 25 (descriptive flexfield record parameters)
Output
Standard API parameters: 3
Application parameters: 0
Input/Output
Standard API parameters: 4
BANK BRANCH APIs Oracle Confidential - For internal use only Page 26 of 62
6.2.2 Parameter Descriptions
BANK BRANCH APIs Oracle Confidential - For internal use only Page 27 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
p_attribute9 IN VARCHAR2 No NULL
p_attribute10 IN VARCHAR2 No NULL
p_attribute11 IN VARCHAR2 No NULL
p_attribute12 IN VARCHAR2 No NULL
p_attribute13 IN VARCHAR2 No NULL
p_attribute14 IN VARCHAR2 No NULL
p_attribute15 IN VARCHAR2 No NULL
p_attribute16 IN VARCHAR2 No NULL
p_attribute17 IN VARCHAR2 No NULL
p_attribute18 IN VARCHAR2 No NULL
p_attribute19 IN VARCHAR2 No NULL
p_attribute20 IN VARCHAR2 No NULL
p_attribute21 IN VARCHAR2 No NULL
p_attribute22 IN VARCHAR2 No NULL
p_attribute23 IN VARCHAR2 No NULL
p_attribute24 IN VARCHAR2 No NULL
The country specific validation errors are
p_country_validate IN VARCHAR2 No Y
reported only if this field is set to 'Y'.
Current object version number for the bank
p_bch_object_version_numb IN branch. The value for object_version_number
NUMBER
er OUT column in the HZ_PARTIES table for the
bank branch party id
Current object version number for bank
branch type code assignment i.e. the value
p_typ_object_version_numb IN for the column object_version_number in
NUMBER
er OUT HZ_CODE_ASSIGNMENTS table for
CLASS_CATEGORY
'BANK_BRANCH_TYPE'
Current object version number for RFC code
assignment i.e. the value for the column
p_rfc_object_version_numb IN
NUMBER object_version_number in
er OUT
HZ_CODE_ASSIGNMENTS table for
CLASS_CATEGORY 'RFC_IDENTIFIER'
Current object version number for BIC(EFT)
contact point i.e. the value for the column
p_eft_object_version_numb IN
NUMBER object_version_number in
er OUT
HZ_CONTACT_POINTS table for
CONTACT_POINT_ID 'EFT'
The return status of the API, informs the
x_return_status OUT VARCHAR2 caller about the result of the operation or
operations performed by the API
Number of messages in the FND message
x_msg_count OUT NUMBER
stack
If the count for x_msg_count is one, then the
x_msg_data OUT VARCHAR2 x_msg_data column holds the encoded
message
BANK BRANCH APIs Oracle Confidential - For internal use only Page 28 of 62
Note: The parameter values for update_bank_branch should also pass the below check as in create_bank_branch. But
these check are made only when either of the branch name or branch number field is updated
• A unique combination of bank number, bank branch number, and country else the API gives the error
HZ_BANK_NONUNIQUE_NUMBER.
• A unique combination of bank name and bank branch name else the API gives the error
HZ_BANK_NONUNIQUE_NAME.
6.2.3 UI Mappings
The below screen-shot shows the mapping of update_bank_branch API parameters with the UI fields of Update
Bank Branch: Bank Branch Information Page.
BANK BRANCH APIs Oracle Confidential - For internal use only Page 29 of 62
6.3 CE_BANK_PUB.check_branch_exist
This procedure is used to find if a bank branch already exists in the system or not for the passed input parameters. If the
bank is present then the Bank branch party ID is returned along with its end date. The bank branch search can be done
either using the bank branch name field or the bank branch number field. The API works as listed below
Case 1. If a value other than null is passed for p_branch_name field, API searches the bank branch based on its
name without taking into account the bank branch number p_branch_number. In this case the p_bank_number
field is not used anywhere.
This API has 2 output and 3 input parameters in total. Based on the type, the following is the breakdown of the
parameters:
Input
Standard API parameters: 0
Application parameters: 3
Output
Standard API parameters: 0
Application parameters: 2
BANK BRANCH APIs Oracle Confidential - For internal use only Page 30 of 62
6.3.2 Parameter Descriptions
BANK BRANCH APIs Oracle Confidential - For internal use only Page 31 of 62
6.4 CE_BANK_PUB.set_bank_branch_end_date
This API is used to set the end date of a bank branch already defined in the application. This API uses the
HZ_BANK_PUB.update_bank_branch public API to update the end date detail of bank branch. This API has 3 output, 3
input and 1 input/output parameters in total. Based on the type, the following is the breakdown of the parameters:
Input
Standard API parameters: 1
Application parameters: 2
Output
Standard API parameters: 3
Application parameters: 0
Input/Output
Standard API parameters: 1
BANK BRANCH APIs Oracle Confidential - For internal use only Page 32 of 62
6.4.2 Parameter Descriptions
BANK BRANCH APIs Oracle Confidential - For internal use only Page 33 of 62
7. BANK ACCOUNT APIs
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 34 of 62
cashpool_min_receipt_amt NUMBER,
cashpool_round_factor NUMBER(15),
cashpool_round_rule VARCHAR2(4),
attribute_category VARCHAR2(150),
attribute1 VARCHAR2(150),
attribute2 VARCHAR2(150),
attribute3 VARCHAR2(150),
attribute4 VARCHAR2(150),
attribute5 VARCHAR2(150),
attribute6 VARCHAR2(150),
attribute7 VARCHAR2(150),
attribute8 VARCHAR2(150),
attribute9 VARCHAR2(150),
attribute10 VARCHAR2(150),
attribute11 VARCHAR2(150),
attribute12 VARCHAR2(150),
attribute13 VARCHAR2(150),
attribute14 VARCHAR2(150),
attribute15 VARCHAR2(150),
xtr_bank_account_reference VARCHAR2(20)
);
7.2 CE_BANK_PUB.create_bank_acct
This API is used to create a bank account for the branch party id passed as an input parameter. The API uses the
BankAcct_rec_type record to pass the input values. On successful creation of bank account, the API return the bank
account id along with the information /error messages. The API returns a null bank account id if the bank branch is not
created. This API has 4 output and 2 input parameters in total. Based on the type, the following is the breakdown of the
parameters:
Input
Standard API parameters: 1
Application parameters: 1
Output
Standard API parameters: 3
Application parameters: 1
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 35 of 62
7.2.2 Parameter Descriptions
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 36 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
This field represents the International
Bank Account Number (IBAN), which is
an international standard that uniquely
identifies a bank account number.
Validations: Length should not exceed
34 characters. First 2 characters are letter
iban IN VARCHAR2
and the next 2 characters are numbers. A
modulus algorithm is used to certify if
the entered IBAN number is correct or
not
Error: CE_INVALID_IBAN
CE_INVALID_IBAN_FORMAT
The field represents the check digit,
which is used to validate the authenticity
check_digits IN VARCHAR2
of bank account number according to
country specific bank account validation.
eft_requester_id IN VARCHAR2 EFT requester identifier
Represents the Account Reference field.
secondary_account_referenc
IN VARCHAR2 Validation: Country specific validations
e
are applicable on this field
This represents the Multiple Currencies
Allowed field. The valid values for this
field are 'Y' and 'N'.
multi_currency_allowed_fla
IN VARCHAR2 Validation: The field can be updated to
g
'Y' only if the functional currency is
equal to bank account currency
Error: CE_BANK_MULTICURRENCY
alternate_acct_name IN VARCHAR2 The alternate name for the bank account
short_account_name IN VARCHAR2 The short name for the bank account
This field represents the Bank account
type.
acct_type IN VARCHAR2
Validations: Country specific validations
are applicable on this field
This field represents the Account Suffix
which is an identifier for the bank
acct_suffix IN VARCHAR2
Validations: Country specific validations
are applicable on this field
description_code1 IN VARCHAR2 Description code 1
description_code2 IN VARCHAR2 Description code 2
Represents the description field for the
description IN VARCHAR2
Bank Account
This field represents the Agency
Location Code.
Validations: Length of this field should
agency_location_code IN VARCHAR2 not be more than 8 characters and all the
characters should be numeric.
Error: CE_ALC_VALUE_TOO_LONG
CE_ALC_NUMERIC_VALUE_ONLY
Represents the Payables Account use
ap_use_allowed_flag IN VARCHAR2
flag. Valid values are 'Y' and 'N'.
Represents the Receivables Account use
ar_use_allowed_flag IN VARCHAR2
flag. Valid values are 'Y' and 'N'.
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 37 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 38 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 39 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
attribute3 IN VARCHAR2
attribute4 IN VARCHAR2
attribute5 IN VARCHAR2
attribute6 IN VARCHAR2
attribute7 IN VARCHAR2
attribute8 IN VARCHAR2
attribute9 IN VARCHAR2
attribute10 IN VARCHAR2
attribute11 IN VARCHAR2
attribute12 IN VARCHAR2
attribute13 IN VARCHAR2
attribute14 IN VARCHAR2
attribute15 IN VARCHAR2
Represents the bank account number
xtr_bank_account_reference IN VARCHAR2 reference for a branch of the Treasury
bank.
The bank account id for the bank
x_acct_id OUT NUMBER account is returned on successful bank
account creation
The return status of the API, informs the
x_return_status OUT VARCHAR2 caller about the result of the operation or
operations performed by the API
Number of messages in the FND
x_msg_count OUT NUMBER
message stack
If the count for x_msg_count is one, then
x_msg_data OUT VARCHAR2 the x_msg_data column holds the
encoded message
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 40 of 62
7.2.3 UI Mappings
The below screen-shot shows the mapping of create_bank_acct API parameters with the UI fields of Create Bank
Account Pages.
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 41 of 62
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 42 of 62
7.3 CE_BANK_PUB.update_bank_acct
This API is used to update a bank account details for bank account id passed as an input parameter. The API uses the
BankAcct_rec_type record to pass the input values. On successful update of bank account, the API return the information
/error messages. This API has 3 output, 2 input and 1 input/output parameters in total. Based on the type, the following is
the breakdown of the parameters:
Input
Standard API parameters: 1
Application parameters: 1
Output
Standard API parameters: 3
Application parameters: 0
Input/Output
Standard API parameters: 1
CE_BANK_PUB.update_bank_acct (
p_init_msg_list,
p_acct_rec,
p_object_version_number,
x_return_status,
x_msg_count,
x_msg_data
);
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 43 of 62
7.3.2 Parameter Descriptions
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 44 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 45 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 46 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
Represents the Maximum payment that
is the lowest payment amount that is
max_check_amount IN NUMBER
allowed in a payment batch for this bank
account
Represents the Minimum payment that is
the lowest payment amount that is
min_check_amount IN NUMBER
allowed in a payment batch for this bank
account
ap_amount_tolerance IN NUMBER Represents the reconciliation tolerances
ar_amount_tolerance IN NUMBER as a percentage for Payments, Receipts,
xtr_amount_tolerance IN NUMBER Treasury, Payroll, Cash Management
pay_amount_tolerance IN NUMBER Cashflow. Cannot be updated to a null
ce_amount_tolerance IN NUMBER value
ap_percent_tolerance IN NUMBER Represents the reconciliation tolerances
ar_percent_tolerance IN NUMBER as an amount for Payments, Receipts,
xtr_percent_tolerance IN NUMBER Treasury, Payroll, Cash Management
pay_percent_tolerance IN NUMBER Cashflow. Cannot be updated to a null
ce_percent_tolerance IN NUMBER value.
Represents the start date if you want to
limit the time during which this supplier
site uses this bank account as the
start_date IN DATE
primary bank account for receiving
electronic payments in the bank account
currency.
Represents the end date if you want to
limit the time during which this supplier
site uses this bank account as the
end_date IN DATE
primary bank account for receiving
electronic payments in the bank account
currency.
Represents the alternate name for the
account_holder_name_alt IN VARCHAR2
bank account holder
Represents the Account Owner field
which is name of the person or
account_holder_name IN VARCHAR2
organization within your organization
who is responsible for this account
Represents the Cash Flow Display Order
cashflow_display_order IN NUMBER
field
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 47 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
Represents the Maximum Target
Balance that is the target balances help
which determine the maximum balance
max_target_balance IN NUMBER
for bank account for Cash Management
transactions that you include in your
cash position
This field represents the EFT (electronic
funds transfer) user number field.
eft_user_num IN VARCHAR2
Validations: Country specific validations
are applicable on this field
Represents the Account Number field in
masked_account_num IN VARCHAR2
Masked format
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 48 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
Represents the bank account number
xtr_bank_account_reference IN VARCHAR2 reference for a branch of the Treasury
bank.
Current object version number for the
bank account. This is a mandatory
IN
p_object_version_number NUMBER Yes parameter.
OUT
Error: CE_API_REQUIRED_PARAM
CE_API_RECORD_CHANGED
The return status of the API, informs the
x_return_status OUT VARCHAR2 caller about the result of the operation or
operations performed by the API
Number of messages in the FND
x_msg_count OUT NUMBER
message stack
If the count for x_msg_count is one, then
x_msg_data OUT VARCHAR2 the x_msg_data column holds the
encoded message
7.3.3 UI Mappings
Refer the UI Mappings section of create_bank_acct API. The parameter mapping is same as that except that some of the
fields are locked against update as mentioned in the parameter description section 7.3.2.
BANK ACCOUNT APIs Oracle Confidential - For internal use only Page 49 of 62
8. BANK ACCOUNT USE APIs
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 50 of 62
br_remittance_ccid NUMBER(15),
br_factor_ccid NUMBER(15),
bank_interest_expense_ccid NUMBER(15),
bank_interest_income_ccid NUMBER(15),
xtr_asset_ccid NUMBER(15),
ar_bank_charges_ccid NUMBER(15)
);
Input
Standard API parameters: 1
Application parameters: 1
Output
Standard API parameters: 3
Application parameters: 1
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 51 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
Flag to identify if the bank account use
primary_flag IN VARCHAR2
is primary. Valid values are 'Y' and 'N'.
This field represents the Organization Id,
if the organization type is not equal to
'LE', then this id is considered for all
organization related validations.
org_id IN NUMBER Yes Validations: The combination of org_id
and bank_account_id should be unique if
the org_type is not equal to 'LE'.
Error: CE_API_REQUIRED_PARAM
CE_DUP_ACCT_ORG_ACCESS
Error: CE_NO_ACCOUNT_USE
CE_LE_ACCESS_ORG
pay_use_enable_flag IN VARCHAR2 CE_BG_ACCESS_ORG
CE_OU_ACCESS_ORG
CE_BGOU_ACCESS_ORG
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 52 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 53 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
attribute2 IN VARCHAR2
attribute3 IN VARCHAR2
attribute4 IN VARCHAR2
attribute5 IN VARCHAR2
attribute6 IN VARCHAR2
attribute7 IN VARCHAR2
attribute8 IN VARCHAR2
attribute9 IN VARCHAR2
attribute10 IN VARCHAR2
attribute11 IN VARCHAR2
attribute12 IN VARCHAR2
attribute13 IN VARCHAR2
attribute14 IN VARCHAR2
attribute15 IN VARCHAR2
Accounting flexfield identifier for the
cash account of the bank account.
Validation: The field is madatory if the
asset_code_combination_id IN NUMBER
account use is Payables or Receivables
Error:
CE_API_CASH_CCID_REQUIRED
Accounting flexfield identifier for the
ap_asset_ccid IN NUMBER
AP cash account
Accounting flexfield identifier for the
ar_asset_ccid IN NUMBER
AR cash account
Accounting flexfield identifier for the
cash_clearing_ccid IN NUMBER
cash clearing account
Accounting flexfield identifier for the
bank_charges_ccid IN NUMBER
bank charges account
Accounting flexfield identifier for the
bank_errors_ccid IN NUMBER
bank errors account
Accounting flexfield identifier for the
gain_code_combination_id IN NUMBER account that posts the realized exchange
rate gains
Accounting flexfield identifier for the
loss_code_combination_id IN NUMBER account that posts the realized exchange
rate losses
Accounting flexfield identifier for the on
on_account_ccid IN NUMBER
account account
Accounting flexfield identifier for the
unapplied_ccid IN NUMBER
unapplied account
Accounting flexfield identifier for the
unidentified_ccid IN NUMBER
unidentified account
Accounting flexfield identifier for the
factor_ccid IN NUMBER
factor account
Accounting flexfield identifier for the
receipt_clearing_ccid IN NUMBER
receipt confirmation account
Accounting flexfield identifier for the
remittance_ccid IN NUMBER
remittance account
Accounting flexfield identifier for the
ar_short_term_deposit_ccid IN NUMBER
AR short term deposit account
Accounting flexfield identifier for the
br_short_term_deposit_ccid IN NUMBER
BR short term deposit account
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 54 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
Accounting flexfield identifier for the
future_dated_payment_ccid IN NUMBER
future dated payment account
Accounting Flexfield identifier for the
br_remittance_ccid IN NUMBER
Bills Receivable Remittance Account
Accounting Flexfield identifier for the
br_factor_ccid IN NUMBER
Bills Receivable Factoring Account
Accounting flexfield identifier for the
bank_interest_expense_ccid IN NUMBER
bank interest expense account
Accounting flexfield identifier for the
bank_interest_income_ccid IN NUMBER
bank interest income account
Accounting flexfield identifier for the
xtr_asset_ccid IN NUMBER
Treasury cash account
Accounting Flexfield identifier for the
ar_bank_charges_ccid IN NUMBER
Receivables Bank Charges Account
The bank account use id for the bank
x_acct_use_id OUT NUMBER account is returned on successful bank
account use creation
The return status of the API, informs the
x_return_status OUT VARCHAR2 caller about the result of the operation or
operations performed by the API
Number of messages in the FND
x_msg_count OUT NUMBER
message stack
If the count for x_msg_count is one, then
x_msg_data OUT VARCHAR2 the x_msg_data column holds the
encoded message
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 55 of 62
8.2.3 UI Mappings
The below screen-shot shows the mapping of create_bank_acct_use API parameters with the UI fields of Create Bank
Account Pages
The screen-shot below gives the mapping of the payables account access option mapping to the API parameters.
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 56 of 62
8.3 CE_BANK_PUB.update_bank_acct_use
This API is used to update a bank account use detail for a bank account use id passed as an input parameter. The API uses the
BankAcct_use_rec_type record to pass the input values. On successful update of bank account use, the API return the
information /error messages. This API has 3 output, 2 input and 2 input/output parameters in total. Based on the type, the
following is the breakdown of the parameters:
Input
Standard API parameters: 1
Application parameters: 1
Output
Standard API parameters: 3
Application parameters: 0
Input/Output
Standard API parameters: 2
CE_BANK_PUB. update_bank_acct_use (
p_init_msg_list,
p_acct_use_rec,
p_use_ovn,
p_ccid_ovn,
x_return_status,
x_msg_count,
x_msg_data
);
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 57 of 62
8.3.2 Parameter Descriptions
CE_BANK_ACCOUNT_ID_INVALID
The field represents the Organization
Type. The valida values for this are 'LE',
org_type IN VARCHAR2
'OU', 'BG' and 'BGOU'. This field is
locked against update
Flag to identify if the bank account use
primary_flag IN VARCHAR2
is primary. Valid values are 'Y' and 'N'.
This field represents the Organization Id,
if the organization type is not equal to
org_id IN NUMBER 'LE', then this id is considered for all
organization related validations. This
field is locked against update
The field represents the Organization
org_party_id IN NUMBER Party id for the organization id field.This
field is locked against update
ap_use_enable_flag IN VARCHAR2 These fields represent the account use
ar_use_enable_flag IN VARCHAR2 flag for payments, receipts, treasury and
xtr_use_enable_flag IN VARCHAR2 payroll respectively. The valid values for
these fields are 'Y' and 'N'.
Validation: At least one of these 4
parameters should be set to 'Y'.
Treasury account use can be set to 'Y'
only when the organization is of type
legal entity i.e 'LE'.
Payroll account use can be set to 'Y' only
when the organization is of type business
group or both business group and
operating unit i.e. 'BG' or 'BGOU'.
pay_use_enable_flag IN VARCHAR2 Payables and/or receivables account uses
can be set to 'Y' only when the
organization is of type operating unit or
both business group and operating unit
i.e. 'OU' or 'BGOU'
Error: CE_NO_ACCOUNT_USE
CE_LE_ACCESS_ORG
CE_BG_ACCESS_ORG
CE_OU_ACCESS_ORG
CE_BGOU_ACCESS_ORG
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 58 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
The field represents the Trasaction id of
Earned discounts activity. That is listed
edisc_receivables_trx_id IN NUMBER in in the ar_receivables_trx table for a
valid transaction of type earned
Discounts
The field represents the Trasaction id of
Unearned discounts activity. That is
unedisc_receivables_trx_id IN NUMBER listed in the ar_receivables_trx table for
a valid transaction of type Unearned
Discounts
end_date IN DATE End Date
Receivables activity identifier used for
br_std_receivables_trx_id IN NUMBER short term debt definition for transaction
type of Bills Receivable Remittance.
This field represents the Organization Id,
if the organization type is equal to 'LE',
legal_entity_id IN NUMBER then this id is considered for all
organization related validations. This
field is locked against update
Investment Limit for the bank account in
investment_limit_code IN VARCHAR2
Treasury
Funding Limit for the bank account in
funding_limit_code IN VARCHAR2
Treasury
Represents the payables default
Settlement Account selection field. The
valid values are 'Y' and N'.
Validations: Only one account per
ap_default_settlement_flag IN VARCHAR2 currency and account use AP can be
flagged 'Y' as the default settlement
account for each LE or OU.
Error:
CE_AP_SETTLEMENT_EXIST_ORG
Represents the treasury default
Settlement Account selection field. The
valid values are 'Y' and N'.
Validations: Only one account per
currency and account use XTR can be
xtr_default_settlement_flag IN VARCHAR2
flagged 'Y' as the default settlement
account for each LE or OU.
Error:
CE_XTR_SETTLEMENT_EXIST_OR
G
payroll_bank_account_id IN NUMBER Payroll bank account identifier
pricing_model IN VARCHAR2 Pricing Model used in Treasury
Flag to indicate if account is authorized
for use in Treasury. Valid values for this
authorized_flag IN VARCHAR2
field are 'Y' and 'N'. Null value is not
allowed for this field
Settlement script to be issued for the
eft_script_name IN VARCHAR2
bank account in treasury
Default Account per currency per LE in
Treasury. Valid values for this field are
default_account_flag IN VARCHAR2
'Y' and 'N'. Null value is not allowed for
this field
Portfolio Code associated to the bank
portfolio_code IN VARCHAR2
account in Treasury
attribute_category IN VARCHAR2
attribute1 IN VARCHAR2
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 59 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
attribute2 IN VARCHAR2
attribute3 IN VARCHAR2
attribute4 IN VARCHAR2
attribute5 IN VARCHAR2
attribute6 IN VARCHAR2
attribute7 IN VARCHAR2
attribute8 IN VARCHAR2
attribute9 IN VARCHAR2
attribute10 IN VARCHAR2
attribute11 IN VARCHAR2
attribute12 IN VARCHAR2
attribute13 IN VARCHAR2
attribute14 IN VARCHAR2
attribute15 IN VARCHAR2
Accounting flexfield identifier for the
cash account of the bank account.
Validation: The field is madatory if the
asset_code_combination_id IN NUMBER
account use is Payables or Receivables
Error:
CE_API_CASH_CCID_REQUIRED
Accounting flexfield identifier for the
ap_asset_ccid IN NUMBER
AP cash account
Accounting flexfield identifier for the
ar_asset_ccid IN NUMBER
AR cash account
Accounting flexfield identifier for the
cash_clearing_ccid IN NUMBER
cash clearing account
Accounting flexfield identifier for the
bank_charges_ccid IN NUMBER
bank charges account
Accounting flexfield identifier for the
bank_errors_ccid IN NUMBER
bank errors account
Accounting flexfield identifier for the
gain_code_combination_id IN NUMBER account that posts the realized exchange
rate gains
Accounting flexfield identifier for the
loss_code_combination_id IN NUMBER account that posts the realized exchange
rate losses
Accounting flexfield identifier for the on
on_account_ccid IN NUMBER
account
Accounting flexfield identifier for the
unapplied_ccid IN NUMBER
unapplied account
Accounting flexfield identifier for the
unidentified_ccid IN NUMBER
unidentified account
Accounting flexfield identifier for the
factor_ccid IN NUMBER
factor account
Accounting flexfield identifier for the
receipt_clearing_ccid IN NUMBER
receipt confirmation account
Accounting flexfield identifier for the
remittance_ccid IN NUMBER
remittance account
Accounting flexfield identifier for the
ar_short_term_deposit_ccid IN NUMBER
AR short term deposit account
Accounting flexfield identifier for the
br_short_term_deposit_ccid IN NUMBER
BR short term deposit account
Accounting flexfield identifier for the
future_dated_payment_ccid IN NUMBER
future dated payment account
Accounting Flexfield identifier for the
br_remittance_ccid IN NUMBER
Bills Receivable Remittance Account
br_factor_ccid IN NUMBER Accounting Flexfield identifier for the
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 60 of 62
Parameter Name Type Data Type Reqd Default Validation, Comments
Bills Receivable Factoring Account
Accounting flexfield identifier for the
bank_interest_expense_ccid IN NUMBER
bank interest expense account
Accounting flexfield identifier for the
bank_interest_income_ccid IN NUMBER
bank interest income account
Accounting flexfield identifier for the
xtr_asset_ccid IN NUMBER
Treasury cash account
Accounting Flexfield identifier for the
ar_bank_charges_ccid IN NUMBER
Receivables Bank Charges Account
Current object version number for the
bank account uses. This is a mandatory
IN
p_use_ovn NUMBER Yes parameter.
OUT
Error: CE_API_REQUIRED_PARAM
CE_API_RECORD_CHANGED
Current object version number for the
ce_gl_accounts_ccid. This is a
IN
p_ccid_ovn NUMBER Yes mandatory parameter.
OUT
Error: CE_API_REQUIRED_PARAM
CE_API_RECORD_CHANGED
The return status of the API, informs the
x_return_status OUT VARCHAR2 caller about the result of the operation or
operations performed by the API
Number of messages in the FND
x_msg_count OUT NUMBER
message stack
If the count for x_msg_count is one, then
x_msg_data OUT VARCHAR2 the x_msg_data column holds the
encoded message
8.3.3 UI Mappings
Refer the UI Mappings section of create_bank_acct_use API. The parameter mapping is same as that except that some of
the fields are locked against update as mentioned in the parameter description section 8.3.2.
BANK ACCOUNT USE APIs Oracle Confidential - For internal use only Page 61 of 62
9. Error Message Description
The table below lists the error message keys that are given in the parameter description of the APIs and the
corresponding message text.
Error Message Description Oracle Confidential - For internal use only Page 62 of 62