RB_CUST_PRNT_VW

(SQL View)
Index Back

Customer Account List view

main view used in the customer account list

SELECT DISTINCT F.SETID , F.CUST_ID_PARENT , F.CUST_ID , F.NAME1_PARENT , F.NAME1 , F.CUST_ID_DIRECT , F.NAME1_DIRECT , F.BO_ID_PARENT , F.BO_ID_DIRECT , F.BO_ID , F.CUSTOMER_TYPE , F.TREE_LEVEL_NUM , F.CHILD_FLAG , %subrec(RB_AUDIT_SBR, C) FROM PS_RB_CUST_FLAT F , PS_RD_COMPANY C WHERE C.BO_ID = F.BO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

Default Value: OPR_DEF_TBL_RB.SETID

Prompt Table: SP_SETID_NONVW

2 CUST_ID_PARENT Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
3 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
4 NAME1_PARENT Character(50) VARCHAR2(50) NOT NULL Customer Parent Name
5 NAME1 Character(50) VARCHAR2(50) NOT NULL Generic 50 character name field for storing names.
6 CUST_ID_DIRECT Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
7 NAME1_DIRECT Character(50) VARCHAR2(50) NOT NULL Customer Name
8 BO_ID_PARENT Number(31,0) DECIMAL(31) NOT NULL Business Object ID of the Parent Company.
9 BO_ID_DIRECT Number(31,0) DECIMAL(31) NOT NULL Parent BO_ID
10 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
11 CUSTOMER_TYPE Character(1) VARCHAR2(1) NOT NULL Customer Type
1=User 1
2=User 2
3=User 3
4=User 4
12 TREE_LEVEL_NUM Number(3,0) SMALLINT NOT NULL Parent tree level if this is a part of the PSTREEBRANCH record
13 CHILD_FLAG Character(1) VARCHAR2(1) NOT NULL Enable Child Status flag for Case Rlationship
14 ROW_ADDED_DTTM DateTime(26) TIMESTAMP This is a datetime field for record creation.
15 ROW_ADDED_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who added the row.
16 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
17 ROW_LASTMANT_OPRID Character(30) VARCHAR2(30) NOT NULL ID of user who last modified the row.
18 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.
19 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time