RI_BILLSTATLOVW(SQL View) |
Index Back |
|---|---|
View of Account and BillSELECT 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 ,L.LANGUAGE_CD , a.SETID , b.RBTBILLNO , b.RBTPRICURRENCY , b.RBTTOTALDUE , b.RBTBILLDATE , b.RBTBILLDUEDATE , L.XLATLONGNAME ,O.OPRID ,0 ,0 ,0 ,0 , %subrec(RB_AUDIT_SBR,b) FROM PS_RBT_ACCOUNT a , PS_RBT_BILL b , PSXLATITEM D , PSXLATITEMLANG L , 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 AND D.FIELDNAME = L.FIELDNAME AND D.FIELDVALUE = L.FIELDVALUE AND L.EFFDT <= %CurrentDateIn |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. | |
| 2 | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer | |
| 3 | Number(31,0) | DECIMAL(31) NOT NULL | This field indicates the Business Object ID for the contact. | |
| 4 | 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 | Character(4) | VARCHAR2(4) NOT NULL |
Bill Status
DISP=Disputed PAID=Paid PEND=Pending |
|
| 7 | Character(15) | VARCHAR2(15) NOT NULL | Unique service account indentifier | |
| 8 | Character(15) | VARCHAR2(15) NOT NULL | Bill Id | |
| 9 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
| 10 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
| 11 | RBTBILLNO | Character(15) | VARCHAR2(15) NOT NULL | Bill number |
| 12 | RBTPRICURRENCY | Character(4) | VARCHAR2(4) NOT NULL | Primary Currency |
| 13 | RBTTOTALDUE | Number(10,2) | DECIMAL(9,2) NOT NULL | Total Due |
| 14 | RBTBILLDATE | Date(10) | DATE | Bill Date |
| 15 | RBTBILLDUEDATE | Date(10) | DATE | Bill Due Date |
| 16 | STATUS_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Field used to show the status description. Field used as edit box. |
| 17 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
| 18 | BO_ID_PARTNER | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID of Partner Company. |
| 19 | ROLE_TYPE_ID_PART | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the partner |
| 20 | BO_ID_PART_CONT | Signed Number(32,0) | DECIMAL(31) NOT NULL | This is the business object identifier for the partner contact. |
| 21 | ROLE_TYPE_ID_PARTC | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the partner contact |
| 22 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
| 23 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
| 24 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
| 25 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
| 26 | 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. |
| 27 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |