RBT_BACT_MGR_VW

(SQL View)
Index Back

Billing Account/Person View

This view is used to derive all the persons related to an account

SELECT PERS.BO_ID , BACT.SYNCID ,BACT.RBTACCTID ,BACT.RBTACCTNO ,BACT.RBTACCTNAME ,BACT.RBTACCTSTATUS ,BACT.RBTACCTTYPE ,BACT.RBTCUST_BO_ID ,BACT.RBTCONT_BO_ID ,BACT.BO_ID ,PERS.PERSON_ID ,BON.BO_NAME ,BON.BO_NAME_DISPLAY ,REL.ROLE_TYPE_ID_1 FROM PS_RBT_ACCOUNT BACT , PS_BO_REL REL , PS_RD_PERSON PERS ,PS_BO_NAME BON WHERE REL.BO_ID_2 = BACT.BO_ID AND REL.BO_ID_1 = PERS.BO_ID AND PERS.BO_ID = BON.BO_ID AND BON.PRIMARY_IND = 'Y' AND REL.REL_TYPE_ID =535 AND REL.START_DT <= %CurrentDateIn AND REL.END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_PERSON Number(31,0) DECIMAL(31) NOT NULL Business Object ID
2 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.
3 RBTACCTID Character(15) VARCHAR2(15) NOT NULL Unique service account indentifier
4 RBTACCTNO Character(20) VARCHAR2(20) NOT NULL Account No
5 RBTACCTNAME Character(30) VARCHAR2(30) NOT NULL Account Name
6 RBTACCTSTATUS Character(4) VARCHAR2(4) NOT NULL Account Status
ACT=Active
CLOS=Closed
HOLD=On Hold
PEND=Pending Activation
7 RBTACCTTYPE Character(4) VARCHAR2(4) NOT NULL Determines the type of Billing Account.
IND=Individual Account
NSUB=Parent Account
PRE=Prepaid Account
SPNR=Sponsored Account
SPON=Sponsoring Account
SUB=Subordinate Account
8 RBTCUST_BO_ID Number(31,0) DECIMAL(31) NOT NULL Customer BO ID
9 RBTCONT_BO_ID Number(31,0) DECIMAL(31) NOT NULL Contact BO ID
10 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
11 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
12 BO_NAME Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
13 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
14 ROLE_TYPE_ID_1 Number(12,0) DECIMAL(12) NOT NULL Role Type ID