RSPD_ACCTM_D_VW

(SQL View)
Index Back

Account Team deleted reps

View used to send delete for reps removed from account team.

SELECT %Abs(BO_ID_2) , ROLE_TYPE_ID_2 , %Abs(BO_ID_1) , P.PERSON_ID , ' ' , ' ' , ' ' , %subrec(RB_AUDIT_SBR, TM) FROM PS_BO_REL TM , PS_RB_PRSN_P_NM_VW P WHERE TM.BO_ID_1 = P.BO_ID AND TM.ROLE_TYPE_ID_1 = 17 AND END_DT <= %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 ACCOUNT_BO_ID Number(31,0) DECIMAL(31) NOT NULL This is the field used in the work record to hold the account's BO Id
2 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
3 BO_ID_PERSON Number(31,0) DECIMAL(31) NOT NULL Business Object ID
4 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
5 ACCT_OWNER Character(1) VARCHAR2(1) NOT NULL Account Team Owners....................
N=No
Y=Yes
6 BO_NAME_DISPLAY Character(80) VARCHAR2(80) NOT NULL Full name of the Business Object
7 BO_NAME_DISPLAY_1 Character(80) VARCHAR2(80) NOT NULL This field represents the Display Name for a business object
8 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
9 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
10 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
11 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
12 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.
13 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time