OI_AFF2_VW(SQL View) |
Index Back |
---|---|
Operating Unit AffiliatePrimary record for Operating Unit Affiliate ChartField |
SELECT AI2.SETID , %Sql(AFFILIATE_INTRA2,AI2.) , AI2.EFFDT , ED.INEFFDT , AI2.EFF_STATUS , AI2.DESCR , AI2.DESCRSHORT FROM PS_%Sql(AFFILIATE_INTRA2_TBL, AI2) INNER JOIN PS_OPER_UNIT_EDR ED ON AI2.SETID = ED.SETID AND %Sql(AFFILIATE_INTRA2,AI2.) = %Sql(OPERATING_UNIT,ED.) AND AI2.EFFDT=ED.EFFDT UNION SELECT DISTINCT SETID ,' ' , %DateIn('1900-01-01') , %DateIn('9999-12-31') , 'A' , 'Not Available' , 'NA' FROM PS_SETID_TBL UNION SELECT ' ' ,' ' , %DateIn('1900-01-01') , %DateIn('9999-12-31') , 'A' , 'Not Available' , 'NA' FROM PS_INSTALLATION |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | AFFILIATE_INTRA2 | Character(10) | VARCHAR2(10) NOT NULL | Operating Unit Affiliate |
3 | EFF_ST_DT | Date(10) | DATE | Effective Start Date |
4 | EFF_END_DT | Date(10) | DATE | Effective End Date |
5 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |