AGC_TMPL_SPAG_V(SQL View) |
Index Back |
---|---|
AGC Template Step Assignee VwActivity Guide Composer Template Step Assignee View |
SELECT A.AGC_TEMPLATE_ID ,A.EFFDT ,B.AGC_ACTION_ITEM_ID ,C.AGC_ASSIGNEE_ID ,B.AGC_STEP_ID ,B.AGC_STEP_SEQ ,A.AGC_CATEGORY_ID FROM PS_AGC_TMPL_TBL A , PS_AGC_TMPL_STEPS B , PS_AGC_TMPL_STPASG C WHERE A.AGC_TEMPLATE_ID=B.AGC_TEMPLATE_ID AND A.EFFDT=B.EFFDT AND B.AGC_TEMPLATE_ID=C.AGC_TEMPLATE_ID AND B.EFFDT=C.EFFDT AND B.AGC_ACTION_ITEM_ID=C.AGC_ACTION_ITEM_ID AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_AGC_TMPL_TBL A1 WHERE A1.AGC_ACTIVE_FLAG = 'Y' AND A1.AGC_TEMPLATE_ID = A.AGC_TEMPLATE_ID AND A1.EFFDT <=%CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | AGC_TEMPLATE_ID | Character(7) | VARCHAR2(7) NOT NULL | Activity Guide Composer Template Id |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | AGC_ACTION_ITEM_ID | Character(31) | VARCHAR2(31) NOT NULL | Activity Guide Composer Action Item Id |
4 | AGC_ASSIGNEE_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity Guide Composer - Assignee ID |
5 | AGC_STEP_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity Guide Composer Step Id |
6 | AGC_STEP_SEQ | Number(4,0) | SMALLINT NOT NULL | Activity Guide Step Sequence Number |
7 | AGC_CATEGORY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity Guide Category |