RI_BILL_STATOVW

(SQL View)
Index Back

View of Account and Bill

SELECT a.RBTCUST_BO_ID , a.ROLE_TYPE_ID_CNTCT , a.RBTCUST_BO_ID , a.ROLE_TYPE_ID_CUST , a.RBTACCTID , b.RBTBILLID , a.SETID , b.RBTBILLNO , b.RBTBILLSTATUS , b.RBTPRICURRENCY , b.RBTTOTALDUE , b.RBTBILLDATE , b.RBTBILLDUEDATE , %subrec(RB_AUDIT_SBR,b) FROM PS_RBT_ACCOUNT a , PS_RBT_BILL b WHERE a.RBTACCTID = b.RBTACCTID

SELECT a.RBTCUST_BO_ID , a.ROLE_TYPE_ID_CUST , a.RBTCONT_BO_ID , a.ROLE_TYPE_ID_CNTCT ,0 , b.RBTBILLSTATUS , a.RBTACCTID , b.RBTBILLID , a.SETID , b.RBTBILLNO , b.RBTPRICURRENCY , b.RBTTOTALDUE , b.RBTBILLDATE , b.RBTBILLDUEDATE , D.XLATLONGNAME ,O.OPRID ,0 ,0 ,0 ,0 , %subrec(RB_AUDIT_SBR,b) FROM PS_RBT_ACCOUNT a , PS_RBT_BILL b , PSXLATITEM D , PS_SEC_SETID_OPR O WHERE a.RBTACCTID = b.RBTACCTID AND b.RBTBILLSTATUS = D.FIELDVALUE AND D.FIELDNAME = 'RBTBILLSTATUS' AND D.EFF_STATUS = 'A' AND D.EFFDT <= %CurrentDateIn AND A.SETID = O.SETID

  • Related Language Record: RI_BILLSTATLOVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
    2 ROLE_TYPE_ID_CUST Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the customer
    3 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
    4 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
    5 BO_ID_SITE Number(31,0) DECIMAL(31) NOT NULL Business Object ID
    6 RBTBILLSTATUS Character(4) VARCHAR2(4) NOT NULL Bill Status
    DISP=Disputed
    PAID=Paid
    PEND=Pending
    7 RBTACCTID Character(15) VARCHAR2(15) NOT NULL Unique service account indentifier
    8 RBTBILLID Character(15) VARCHAR2(15) NOT NULL Bill Id
    9 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.
    10 RBTBILLNO Character(15) VARCHAR2(15) NOT NULL Bill number
    11 RBTPRICURRENCY Character(4) VARCHAR2(4) NOT NULL Primary Currency
    12 RBTTOTALDUE Number(10,2) DECIMAL(9,2) NOT NULL Total Due
    13 RBTBILLDATE Date(10) DATE Bill Date
    14 RBTBILLDUEDATE Date(10) DATE Bill Due Date
    15 STATUS_DESCR Character(50) VARCHAR2(50) NOT NULL Field used to show the status description. Field used as edit box.
    16 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    17 BO_ID_PARTNER Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID of Partner Company.
    18 ROLE_TYPE_ID_PART Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner
    19 BO_ID_PART_CONT Signed Number(32,0) DECIMAL(31) NOT NULL This is the business object identifier for the partner contact.
    20 ROLE_TYPE_ID_PARTC Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the partner contact
    21 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
    22 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
    23 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
    24 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
    25 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.
    26 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time