4.2 OBRH Integration
During Bank Implementation, assuming OBRH is installed and configured as part of OBSCF installation.
For OBAPI and OBSCF integration using OBRH the following configurations need to be done.
- Carry out all the steps mentioned inOBRH Integration Configurationsection in this document. The service provider for product OBSCF (Oracle Banking Supply Chain Finance) end-points configured in OBRH is “OBSCF”
- After all the above steps are completed, user needs to execute some scripts for
                    the host APIs that are to be consumed via OBRH. These are the scripts to pick
                    the third party adapter implementation instead of the host specific
                    implementations as well as to call the OBRH end-point for the configured
                    interfaces. The scripts are available at the following
                        location:/Installables/Modules/OBSCF/DIGX_FW_CONFIG_ALL_O.sqlNote: ‘%ENTITY_ID%’ should be replaced with the entity identifier (For Example if the entity during implementation is OBDX_BU then ‘%ENTITY_ID%’ should be replaced by ‘OBDX_BU’).
- The list of OBSCF APIs that are integrated with OBAPI using OBRH is
                    as follows:
                        OBRH Consumer Service Name Transaction Name Description SCF_FINANCE_CHARGEView/Edit Invoice Fetches the list of finance charges. SCF_PURCHASE_ORDER_CREATEPurchase Order Creation This API is used to create purchase orders. SCF_PURCHASE_ORDER_UPDATEView Purchase Orders This API is used to modify purchase order details. SCF_PURCHASE_ORDER_ACCEPTAccept/Reject Purchase Order This API is used to accept purchase orders. SCF_PURCHASE_ORDER_REJECTAccept/Reject Purchase Order This API is used to reject purchase orders. SCF_PURCHASE_ORDER_CANCELView Purchase Orders This API is used to cancel purchase orders. SCF_PURCHASE_ORDER_LISTView Purchase Orders Fetches the list of purchase orders. SCF_PURCHASE_ORDER_READView Purchase Orders Fetches purchase order details. SCF_LINKED_PO_LISTView Finance Details Fetches Purchase Orders linked to a finance. SCF_PO_FINANCE_CREATERequest Finance This API is used to request finance on purchase order(s). SCF_FINANCE_LIMITS_LISTView Limits Fetches the list of finance limits. SCF_MAIN_LISTView Limits Fetches the list of supply chain finance maintenances for a key. SCF_PROGRAM_LISTView/Edit Program Fetches the list of programs. SCF_PROGRAM_READVide/Edit Program Fetches program details. SCF_PROGRAMPRODUCT_LISTCreate Program Fetches the list of Program products. SCF_PROGRAMPRODUCT_READCreate Program Fetches program product details. SCF_PROGRAM_CREATECreate Program Creates Program SCF_PROGRAM_UPDATEEdit Program Edit program details SCF_LINKED_FINANCE_LISTView Invoice Details Fetches finances linked to an invoice. SCF_FINANCE_CREATERequest Finance This API is used to request finance on invoice(s). SCF_FINANCE_REPAYMENTRepay Finance Initiates request to repay finance. SCF_FINANCE_SETTLEMENTView Finance Details Fetches finance settlement details SCF_FINANCE_READView Finance Details Fetches finance details SCF_FINANCE_LISTView Finance Fetches list of finances SCF_LINKED_INVOICE_LISTView Finance Details Fetches invoices linked to a finance. SCF_LINK_INVOICE_TO_PROGRAMLink Invoice To Program Links Invoice(s) to Program SCF_DISCOUNT_OFFER_CREATECreate Discount Offer Creates Discount Offer SCF_DISCOUNTOFFER_LISTView Discount Offer Fetches list of discount offers SCF_DISCOUNT_OFFER_READView Discount Offer Details Fetch discount offer details SCF_LINKED_DISCOUNT_OFFERSView Receivables/Payables Details Fetches list of offers linked to an invoice SCF_CHARGE_CALCULATIONManage Receivables/Payables Fetches applicable discount on an invoice This completes the entire configuration needed for consuming OBSCF APIs in OBAPI through OBRH. 
- In addition to the above, below script needs to be executed for successful
                    creation of Discount
                    Offer.insert into DIGX_FW_TAXONOMY_DATA_TYPE_MAP (ID,TYPE,DATATYPEID,MINLENGTH,MAXLENGTH,MANDATORY,ERRORCODE,LENGTH_ERROCODE,MANDATORY_ERRORCODE, CREATION_DATE,CREATED_BY,LAST_UPDATED_DATE,LAST_UPDATED_BY,OBJECT_VERSION_NUMBER)values('com.ofss.digx.app.scf.dto.discountoffer.DiscountOfferRequestDTO.discountOffer.invoices.indicator', 'CLASS','FREETEXT',null,null,'N',null,null,null,sysdate,'ofssuser',sysdate,'ofssuser',1);
Parent topic: Supply Chain Finance