AUTO_RSNWAO_LVW(SQL View) |
Index Back |
---|---|
Write-Off OverPmtEntry ReasonRelated language view. |
SELECT A.SETID , R.ENTRY_TYPE , A.EFFDT , A.ENTRY_REASON , L.LANGUAGE_CD , L.DESCR FROM PS_AUTO_REASON_TBL A , PS_ENTRY_REASN_TBL R , PS_ENTRY_REASN_LG L WHERE A.SETID = R.SETID AND A.ENTRY_USE_ID = 'WS-10' AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_AUTO_ENTRY_TBL WHERE SETID = A.SETID AND ENTRY_USE_ID = A.ENTRY_USE_ID AND EFFDT <= %CurrentDateIn) AND R.ENTRY_TYPE = ( SELECT ENTRY_TYPE FROM PS_AUTO_ENTRY_TBL WHERE SETID = A.SETID AND ENTRY_USE_ID = A.ENTRY_USE_ID AND EFFDT = A.EFFDT AND EFF_STATUS = 'A' ) AND A.ENTRY_REASON = R.ENTRY_REASON AND %Join(COMMON_KEYS, ENTRY_REASN_TBL R, ENTRY_REASN_LG L) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | ENTRY_TYPE_DB | Character(5) | VARCHAR2(5) NOT NULL | Debit Entry Type |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | ENTRY_REASON | Character(5) | VARCHAR2(5) NOT NULL |
"Specifies an entry reason that further qualifies the entry type associated with a pending item. For example an entry reason for a credit memo might be ""Pricing Error"" or ""Shipping Error""."
Prompt Table: ENTRY_REASN_TBL |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |