BC_SHIPTOPCMFLG(SQL View) |
Index Back |
---|---|
Primary Ship To CM FlagPrimary Ship To CM Flag |
SELECT B1.BO_ID , B1.PROFILE_CM_SEQ , MAX(CASE WHEN (B1.ROLE_TYPE_ID = 41 OR B1.ROLE_TYPE_ID = 45) AND B1.PRIMARY_IND = 'Y' THEN 'Y' ELSE 'N' END) FROM PS_BO_CM_USE B1 WHERE B1.CM_USE_START_DT <= %CurrentDateIn AND B1.CM_USE_END_DT > %CurrentDateIn GROUP BY B1.BO_ID, B1.PROFILE_CM_SEQ |
# | 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 | PROFILE_CM_SEQ | Number(31,0) | DECIMAL(31) NOT NULL | The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables. |
3 | PRIMARY_SHIP_TO | Character(1) | VARCHAR2(1) NOT NULL | Primary Ship To |