Sunday, December 29, 2013

API to validate a IBAN in Oracle Apps R12 - CE_BANK_AND_ACCOUNT_VALIDATION















In this post, I tried to give a sample execution script for the private API CE_BANK_AND_ACCOUNT_VALIDATION.VALIDATE_IBAN

It can be used to validate whether the given bank account number is an IBAN number or not. It was very helpful for us in the current project. Hence, thought to share. 

SCRIPT:


SET SERVEROUTPUT ON:

DECLARE
   lv_iban_out        VARCHAR2 (200);
   lv_return_status   VARCHAR2 (200);
   p_account_no       VARCHAR2 (35)  DEFAULT 'FI1234567890123';
BEGIN
   ce_bank_and_account_validation.validate_iban
                            (p_iban               => p_account_no,
                             p_iban_out           => lv_iban_out,
                             x_return_status      => lv_return_status
                             );

   IF lv_return_status = 'S'
   THEN
      DBMS_OUTPUT.put_line ('Bank Account Type : IBAN');
   ELSE
      DBMS_OUTPUT.put_line ('Bank Account is not a IBAN number');
   END IF;
EXCEPTION
   WHEN OTHERS
   THEN
      DBMS_OUTPUT.put_line ('Error : ' || SQLERRM);
END;




2 Responses to “API to validate a IBAN in Oracle Apps R12 - CE_BANK_AND_ACCOUNT_VALIDATION”

Unknown said...
July 7, 2016 at 12:51 AM

Regards
Sridevi Koduru (Senior Oracle Apps Trainer Oracleappstechnical.com)
LinkedIn profile - https://in.linkedin.com/in/sridevi-koduru-9b876a8b


Unknown said...
December 29, 2018 at 8:32 PM

Thanks and Regards. Oracle Apps R12 Training Videos at affordable cost. please check oracleappstechnical.com


Post a Comment

Disclaimer

The ideas, thoughts and concepts expressed here are my own. They, in no way reflect those of my employer or any other organization/client that I am associated. The articles presented doesn't imply to any particular organization or client and are meant only for knowledge Sharing purpose. The articles can't be reproduced or copied without the Owner's knowledge or permission.