RSP_CUSTPRNT_VW(SQL View) |
Index Back |
---|---|
Customer Account List viewmain view used in the customer account list |
SELECT DISTINCT F.BO_ID ,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.CUSTOMER_TYPE , F.TREE_LEVEL_NUM , F.CHILD_FLAG 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 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | 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 |
3 | 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. |
4 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
5 | NAME1_PARENT | Character(50) | VARCHAR2(50) NOT NULL | Customer Parent Name |
6 | NAME1 | Character(50) | VARCHAR2(50) NOT NULL | Generic 50 character name field for storing names. |
7 | 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. |
8 | NAME1_DIRECT | Character(50) | VARCHAR2(50) NOT NULL | Customer Name |
9 | BO_ID_PARENT | Number(31,0) | DECIMAL(31) NOT NULL | Business Object ID of the Parent Company. |
10 | BO_ID_DIRECT | Number(31,0) | DECIMAL(31) NOT NULL | Parent BO_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 |