RD_ACCT_CLD_VW(SQL View) |
Index Back |
---|---|
My Contacts - Account ChildrenReturn Parent Company Contacts and Children Contacts. The Children can be Company or Site. |
SELECT DISTINCT A.PERSON_ID_OWNER , R.BO_ID_2 , PRSN.BO_ID , PRSN.SYNCID FROM PS_RD_ACCT_OWNER_V A , PS_RB_CUST_FLAT F , PS_BO_REL R , PS_RD_PERSON PRSN WHERE PRSN.BO_ID = R.BO_ID_1 AND R.REL_TYPE_ID IN (9, 10) AND R.START_DT <= %CurrentDateIn AND R.BO_ID_2 = F.BO_ID AND F.BO_ID_PARENT = A.BO_ID_CUST AND R.END_DT > %CurrentDateIn |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID_OWNER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
2 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
3 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
4 | 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. |