RBI_POLICY_VW

(SQL View)
Index Back

View to display customer acct

View to display all policies that a customer own

SELECT DISTINCT(b.FIN_ACCOUNT_ID) ,b.CUST_ACCT_NBR ,a.BUS_CONTACT_ID ,b.FIN_ACCOUNT_TYPE ,b.FIN_ACCOUNT_STATUS ,b.BO_ID_OWNER ,C.DESCR FROM PS_RBF_SRTY_MATRIX a , PS_RBF_FIN_ACCOUNT b , PS_PROD_ITEM C WHERE a.ACCOUNT_REF_ID = b.BO_ID AND b.PROD_SETID = C.SETID AND b.PRODUCT_ID = C.PRODUCT_ID AND a.APPROVAL_FLG = 'Y' AND b.FIN_ACCOUNT_TYPE = 'POL'

  • Related Language Record: RBI_POLICY_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 FIN_ACCOUNT_ID Character(20) VARCHAR2(20) NOT NULL Financial Account Number
    2 CUST_ACCT_NBR Character(20) VARCHAR2(20) NOT NULL This is the Customer defined Account Number for a financial account
    3 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
    4 FIN_ACCOUNT_TYPE Character(3) VARCHAR2(3) NOT NULL Account type
    CHK=Checking
    CRE=Credit
    INV=Investment
    LON=Loan
    POL=Insurance
    SAV=Savings
    5 FIN_ACCOUNT_STATUS Character(3) VARCHAR2(3) NOT NULL Financial account status
    CLO=Closed
    HLD=Hold
    INA=Inactive
    OPE=Open
    PC=Pending Close
    PO=Pending Open
    6 BO_ID_OWNER Number(31,0) DECIMAL(31) NOT NULL Financial Account Business Object ID
    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description