How to Create Bank Account Through API and Associate to Multiple Supplier Sites

5
PowerView is Off Profile (0) Madhurima (Available) Help In this Document Goal Solution References APPLIES TO: Oracle Payables - Version: 12.0.0 and later [Release: 12.0 and later ] Information in this document applies to any platform. GOAL IBY_EXT_BANKACCT_PUB.CREATE_EXT_BANK_ACCT procedure is used to create a bank account and associate the account to a specific level (supplier or site). The same procedure cannot be used to associate the existing bank account to another site since the procedure will fail when the bank account exists already. This document explains how to associate existing bank account to other supplier sites. SOLUTION There are three steps for creating and assigning bank account to a payee. 1) Creating bank account 2) Assigning party as a owner 3) Assigning to a payee. The procedure IBY_EXT_BANKACCT_PUB.CREATE_EXT_BANK_ACCT does all the three steps above. This procedure can be used if the bank account did not already exists. This procedure cannot be called when a bank account already exists and needs to be assigned to another payee. Scenario 1 --------------- Sometimes it is necessary to create a bank account and assign the same to multiple supplier sites. In this case, the account has Document Details Type: Status: Last Major Update: Last Update: Language: HOWTO PUBLISHED 03-Mar-2011 13-Aug-2014 English Related Products Oracle Payables Information Centers Information Center: Oracle Payables [1417598.2] Document References No References available for this document. Recently Viewed How to create bank account through API and associate to multiple supplier sites. (Doc ID 1299614.1) To Bottom R12 Configure e-Mail Separate Remittance Advice [1528042.1] How to Debug Account Payables Accounting Process - APACCENG [190146.1] R12: Generic Data Fix (GDF) Patch For Incorrect Source Dist Type For Prepayment Events [1275451.1] R12: Generic Data Fix (GDF) Authoring HealthPlan KM Reports Knowledge Advanced

description

How to Create Bank Account Through API and Associate to Multiple Supplier Sites

Transcript of How to Create Bank Account Through API and Associate to Multiple Supplier Sites

Page 1: How to Create Bank Account Through API and Associate to Multiple Supplier Sites

PowerView is Off Profile (0)Madhurima (Available) Help

In this Document Goal Solution References

APPLIES TO:

Oracle Payables - Version: 12.0.0 and later [Release: 12.0 and later ]Information in this document applies to any platform.

GOAL

IBY_EXT_BANKACCT_PUB.CREATE_EXT_BANK_ACCT procedure is used to create a bank account and associate the account to aspecific level (supplier or site).The same procedure cannot be used to associate the existing bank account to another site since the procedure will fail when thebank account exists already.

This document explains how to associate existing bank account to other supplier sites.

SOLUTION

There are three steps for creating and assigning bank account to a payee.

1) Creating bank account2) Assigning party as a owner3) Assigning to a payee.

The procedure IBY_EXT_BANKACCT_PUB.CREATE_EXT_BANK_ACCT does all the three steps above. This procedure can be usedif the bank account did not already exists. This procedure cannot be called when a bank account already exists and needs to beassigned to another payee.

Scenario 1---------------Sometimes it is necessary to create a bank account and assign the same to multiple supplier sites. In this case, the account has

Document Details

Type:Status:Last MajorUpdate:LastUpdate:Language:

HOWTOPUBLISHED03-Mar-201113-Aug-2014

English

Related Products

Oracle Payables

Information Centers

Information Center: OraclePayables [1417598.2]

Document References

No References available forthis document.

Recently Viewed

How to create bank account through API and associate to multiple supplier sites. (Doc ID 1299614.1) To Bottom

R12 Configure e-MailSeparate Remittance Advice[1528042.1]

How to Debug AccountPayables Accounting Process- APACCENG [190146.1]

R12: Generic Data Fix (GDF)Patch For Incorrect SourceDist Type For PrepaymentEvents [1275451.1]

R12: Generic Data Fix (GDF)

Authoring HealthPlan KM ReportsKnowledge Advanced

Page 2: How to Create Bank Account Through API and Associate to Multiple Supplier Sites

Sometimes it is necessary to create a bank account and assign the same to multiple supplier sites. In this case, the account hasto be created once and assigned multiple times. The following are the steps.

1) Create the bank account and associate to the first supplier site using the following

IBY_EXT_BANKACCT_PUB.CREATE_EXT_BANK_ACCT(p_api_version => 1.0,p_init_msg_list => fnd_api.g_true,p_ext_bank_acct_rec => l_extbank_rec,p_association_level => 'SS',p_supplier_site_id => l_vendor_site_id,p_party_site_id => l_party_site_id,p_org_id => p_org_id,p_org_type => 'OPERATING_UNIT',x_acct_id => l_account_id,x_return_status => l_return_status,x_msg_count => l_msg_count,x_msg_data =>l_msg_data,x_response => l_response);

This will create the bank account. It will also create a account owner as the party of the supplier.The bank account is then assigned to the supplier site sent in the input parameter.

2) Use the following to assign the second supplier site(payee) to the instrument.

IBY_DISBURSEMENT_SETUP_PUB.Set_Payee_Instr_Assignment(p_api_version => 1.0,p_init_msg_list => FND_API.G_FALSE,p_commit => FND_API.G_TRUE,x_return_status => l_return_status,x_msg_count => l_msg_count,x_msg_data => l_msg_data,p_payee => l_payee_rec,p_assignment_attribs => l_assg_attrx_assign_id => l_assg_id,x_response => l_response);

Setup the following attributes in p_assignment_attribsa)p_assignment_attribs.Instrument.Instrument_Type := 'BANKACCOUNT';

R12: Generic Data Fix (GDF)to Fix Wrong Accounting ofUpgraded Invoices withPrepayment TaxApplication/UnapplicationLines [1322304.1]

Intercompany AP InvoicesFail WithZX_TAX_RATE_NOT_EXIST[1406756.1]

Show More

Page 3: How to Create Bank Account Through API and Associate to Multiple Supplier Sites

b)p_assignment_attribs.Instrument.Instrument_Id := <bank account id>c)p_payee.Party_Id := <account owner party id>- which is party_id of the supplierd)p_payee.Payment_Function := 'PAYABLES_DISB';

If attaching at Supplier levele) p_payee.Party_Site_id:= nullf) p_payee.Supplier_Site_id:=nullg) p_payee.Org_Id:=nullh) p_payee.Org_Type:=null

If attaching at Supplier Site level e) p_payee.Party_Site_id:= <party site ID>f) p_payee.Supplier_Site_id:=<Supplier site ID>g) p_payee.Org_Id:=<Org ID>h) p_payee.Org_Type:=<Org Type>

If attaching at Address Level e) p_payee.Party_Site_id:= <party site ID>f) p_payee.Supplier_Site_id:=nullg) p_payee.Org_Id:=nullh) p_payee.Org_Type:=null

If attaching at Address OU levele) p_payee.Party_Site_id:= <party site ID>f) p_payee.Supplier_Site_id:=nullg) p_payee.Org_Id:=<Org ID>h) p_payee.Org_Type:=<Org Type>

Scenario 2--------------Bank account exists. It is assigned to one supplier and site. The same account needs to be assigned to a different supplier andsite. In this case, the new supplier has to be assigned as a joint owner to the bank account before the account is assigned toPayee. This can be achieved using the following.

1) Check if the new supplier/party is already an owner on the account.

IBY_EXT_BANKACCT_PUB.check_bank_acct_owner(p_api_version => 1.0,p_init_msg_list => FND_API.G_FALSE,p_bank_acct_id => l_bank_acct_id,p_acct_owner_party_id => l_party_idx_return_status => l_return_status,x_msg_count => l_msg_count,x_msg_data => l_msg_data,x_response => l_response)

Page 4: How to Create Bank Account Through API and Associate to Multiple Supplier Sites

)

Return status would be FND_API.G_RET_STS_SUCCESS if that party is owner of the bank account. If the party is already aowner, skip step 2 and go to step 3.

2) If not already a owner, then create joint owner for the account using the following.

IBY_EXT_BANKACCT_PUB.add_joint_account_owner(p_api_version => 1.0,p_init_msg_list => fnd_api.g_true,p_bank_account_id => l_account_id,p_acct_owner_party_id => l_party_id,x_joint_acct_owner_id =>l_joint_owner_id,x_return_status => l_return_status,x_msg_count => l_msg_count,x_msg_data =>l_msg_data,x_response=> l_response)

l_party_id is the party_id of the supplier to be associated to the bank account.

3) Assign instrument to the payee using the procedure IBY_DISBURSEMENT_SETUP_PUB.Set_Payee_Instr_Assignmentexplained above under Scenario 1 / Step 2.

REFERENCES

BUG:6868596 - REVISITED: EXT BANK ACCT CREATED THRU API NOT ATTACHED TO A SUPPLIER

RelatedProducts

Oracle E-Business Suite > Financial Management > Procure to Pay > Oracle Payables > Bank Acct & Reports Issues > Issues Related to Bank Setup

Knowledge Categories

_Old GCS Categories > EBS > Fin > Payables > Payments > BANK: Issues Related to Bank SetupPLA-Support > EBS > Financials > Payables > EBS: Payments ( Primary )

Keywords

SITE; SUPPLIER; API; BANK ACCOUNT; PARTY SITE; PARTY_ID; SITE LEVEL; ASSOCIATE

Translations

Page 5: How to Create Bank Account Through API and Associate to Multiple Supplier Sites

Translations

English Source Japanese 日本語

Document AttributesAuthor: [email protected] Status: PUBLISHED(EXTERNAL)Owner: [email protected] Publisher: CRINIKER.US

Alias: Content Type: TEXT/X-HTMLVisibility: EXTERNAL Priority: 3

Created By: [email protected] Created: 28-Feb-2011Modified By: CRINIKER.US Modified: 13-Aug-2014

Reviewed By: CRINIKER.US Reviewed: 27-Aug-2011Source: AWIZ Exception: No

Back to Top Copyright (c) 2014, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement