USA_TAXFORM_VW(SQL View) |
Index Back |
---|---|
USA Tax Form ID Xlat valuesUSA Tax Form ID translate values view, used as a prompt table when printing Tax Form Definitions for USA. |
SELECT A.FIELDNAME , A.FIELDVALUE , A.XLATSHORTNAME , A.XLATLONGNAME FROM PSXLATITEM A , PSOPTIONS B WHERE A.FIELDNAME = 'TAXFORM_ID' AND A.FIELDVALUE IN ('F', 'G', 'I','J','M', 'N', 'P', 'Q', 'S', 'U', 'W', 'X') AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PSXLATITEM WHERE FIELDNAME = A.FIELDNAME AND FIELDVALUE = A.FIELDVALUE AND EFFDT <= %CurrentDateIn AND EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
2 | FIELDVALUE | Character(4) | VARCHAR2(4) NOT NULL | Field Value |
3 | XLATSHORTNAME | Character(10) | VARCHAR2(10) NOT NULL | Translate Value Short Name |
4 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |