Monday, 14 July 2014

R12 Supplier Bank – Techno Functional Guide

R12 Supplier Bank – Techno Functional Guide

R12 Supplier Bank – Techno Functional Guide


Three banks you can manage in EBSHouse Bank or internal bankExternal bank for supplier and CustomerSupplier (or External) bank accounts are created in Payables, in the Supplier Entry forms. Navigate to Suppliers -> Entry. Query or create your supplier. Click on Banking Details and then choose Create. After you have created the bank account, you can assign the bank account to the supplier site.Intermediary bank for SEPA payment : An intermediary bank is a financial institution that as a relationship with the destination bank (in this case the supplier bank account you are setting up) which is not a direct correspondent of the source bank (the disbursement bank in AP/Payments), which facilities the funds transfer to the destination bank.You can enter intermediary bank accounts on Suppliers->Entry->Banking Details->Bank Account DetailsThis is important when paying a foreign supplier from a domestic disbursement account, there may be an intermediary bank used, and it would be set up on the supplier bank account. Although the intermediary bank UI is owned by Payments, the implementation is as embeddable UI components in pages owned by i-supplier Portal (suppliers) and AR/Collections (customers).dgreybarrow Some informationThe supplier bank account information is in the table: IBY_EXT_BANK_ACCOUNTS, the bank and bank branches information is in the table HZ_PARTIES.Creating a supplier in AP now creates a record in HZ_PARTIES. In the create Supplier screen, you will notice that that Registry_id is the party_number in HZ_Parties.The table hz_party_usg_assignments table stores the party_usage_code SUPPLIER, and also contains the given party_id for that supplier. Running this query will return if customer was a SUPPLIER or CUSTOMERPayment related details of supplier are also inserted in iby_external_payees_all as well as iby_ext_party_pmt_mthdsIBY_EXT_BANK_ACCOUNTS, the bank and bank branches information is in the table: HZ_PARTIES.The master record that replaces PO_VENDORS is now AP_SUPPLIERS. PO_VENDORS is a view that joins AP_SUPPLIERS and HZ_PARTIES.The table that hold mappings between AP_SUPPLIERS.VENDOR_ID and HZ_PARTIES.PARTY_ID is PO_SUPPLIER_MAPPINGS. Query by party_id.The bank branch number can be found in the table: HZ_ORGANIZATION_PROFILES .The HZ_ORGANIZATION_PROFILES table stores a variety of information about a party. This table gets populated when a party of the Organization type is created.dgreybarrowER Diagram(Bank Model)suplier bankdgreybarrow Oracle Table InvolvedIBY_EXTERNAL_PAYEES_ALL : This stores supplier information and customer informationIBY_EXT_BANK_ACCOUNTS : This storage for bank accountsIBY_EXT_PARTY_PMT_MTHDS : This storage for payment method usage rules.IBY_CREDITCARD : stores the credit card information for a customerIBY_EXT_BANK_ACCOUNTS :This Stores external bank accounts . These records have bank_account_type = SupplierIBY_ACCOUNT_OWNERS :stores the joint account owners of a bank accountIBY_PMT_INSTR_USES_ALL : This stores data from AP_BANK_ACCOUNT_USES_ALL for payment instruments assignments .This information is stored in the following iPayment (IBY) tables:


Link between Supplier And Banks and TCA table







The link between PO_VENDORS and HZ_PARTIES is PO_VENDORS.party_id. The link between PO_VENDOR_SITES_ALL and HZ_PARTY_SITES is PO_VENDOR_SITES_ALL.party_site_id.When a Supplier is created Record will be Inserted in HZ_PARTIES. When the Supplier Site is created Record will be Inserted in HZ_PARTY_SITES. When Address is created it will be stored in HZ_LOCATIONSWhen a bank Is Created, the banking information will be stored in IBY_EXT_BANK_ACCOUNTS IBY_EXT_BANK_ACCOUNTS.BANK_id = hz_paties.party_idWhen the Bank is assigned to Vendors then it will be updated in HZ_CODE_ASSIGNMENTS.HZ_CODE_ASSIGNMENTS.owner_table_id = IBY_EXT_BANK_ACCOUNTS.branch_id.The PARTY_SITE_ID column is the link between the tables IBY_EXTERNAL_PAYEES_ALL & PO_VENDOR_SITES_ALL
 Driving Bank account associated with a Supplier Site in R12In R12 a Supplier Site is stored, in TCA, as a Party_Site. The Party Site has the Party ID of the Party that represents the Supplier record.QUERY1..try thisSELECT BANK_ACCOUNT_NAME "Account Name",BANK_ACCOUNT_NUM "Account Number"FROM IBY_EXT_BANK_ACCOUNTSWHERE EXT_BANK_ACCOUNT_ID IN(SELECT EXT_BANK_ACCOUNT_ID FROM IBY_ACCOUNT_OWNERSWHERE ACCOUNT_OWNER_PARTY_ID IN(SELECT party_id FROM hz_party_sitesWHERE party_site_name = 'site code'))


QUERY2..try thisSELECT aba.bank_account_name "BANK_ACCOUNT_NAME",aba.bank_account_num "BANK_ACCOUNT_NUMBER",abau.order_of_preference "PRIMARY_FLAG",aba.currency_code "CURRENCY",abau.start_date "START DATE",abau.end_date "END DATE",pvs.vendor_site_id "VENDOR_SITE"from iby_payee_assigned_bankacct_v abau ,ap_supplier_sites pvs ,iby_payee_all_bankacct_v abaWHERE abau.ext_bank_account_id = aba.ext_bank_account_idAND abau.supplier_site_id = pvs.vendor_site_idAND abau.party_site_id = pvs.party_site_id ;QUERY3..try thisSELECT HZP.PARTY_NAME "VENDOR NAME", APS.SEGMENT1 "VENDOR NUMBER", ASS.VENDOR_SITE_CODE "SITE CODE", IEB.BANK_ACCOUNT_NUM "ACCOUNT NUMBER", IEB.BANK_ACCOUNT_NAME "ACCOUNT NAME", HZPBANK.PARTY_NAME "BANK NAME", HOPBRANCH.BANK_OR_BRANCH_NUMBER "BANK NUMBER", HZPBRANCH.PARTY_NAME "BRANCH NAME", HOPBRANCH.BANK_OR_BRANCH_NUMBER "BRANCH NUMBER"FROM HZ_PARTIES HZP, AP_SUPPLIERS APS, HZ_PARTY_SITES SITE_SUPP, AP_SUPPLIER_SITES_ALL ASS, IBY_EXTERNAL_PAYEES_ALL IEP, IBY_PMT_INSTR_USES_ALL IPI, IBY_EXT_BANK_ACCOUNTS IEB, HZ_PARTIES HZPBANK, HZ_PARTIES HZPBRANCH, HZ_ORGANIZATION_PROFILES HOPBANK, HZ_ORGANIZATION_PROFILES HOPBRANCHWHERE HZP.PARTY_ID = APS.PARTY_IDAND HZP.PARTY_ID = SITE_SUPP.PARTY_IDAND SITE_SUPP.PARTY_SITE_ID = ASS.PARTY_SITE_IDAND ASS.VENDOR_ID = APS.VENDOR_IDAND IEP.PAYEE_PARTY_ID = HZP.PARTY_IDAND IEP.PARTY_SITE_ID = SITE_SUPP.PARTY_SITE_IDAND IEP.SUPPLIER_SITE_ID = ASS.VENDOR_SITE_IDAND IEP.EXT_PAYEE_ID = IPI.EXT_PMT_PARTY_IDAND IPI.INSTRUMENT_ID = IEB.EXT_BANK_ACCOUNT_IDAND IEB.BANK_ID = HZPBANK.PARTY_IDAND IEB.BANK_ID = HZPBRANCH.PARTY_IDAND HZPBRANCH.PARTY_ID = HOPBRANCH.PARTY_IDAND HZPBANK.PARTY_ID = HOPBANK.PARTY_IDORDER BY 1,3

No comments:

Post a Comment

CREATING A SUPPLIER IN R12 (Functional and SUPPLIERS IN TCA)

Who is a Supplier? Let us now understand who is a Supplier with the help of a simple example: We consider us as a business, who sell...