SPT_EFF_VW_LG(SQL View) |
Index Back |
---|---|
Sngl Pay Trms Eff Applic Vw Lg |
SELECT a.setid , b.pymnt_terms_applic , a.pymnt_terms_cd , c.language_cd , c.descr , c.descrshort FROM ps_pymt_trms_hdr a , ps_pymt_trms_cntl b , PS_PYMT_TR_HD_LANG c WHERE a.pymnt_terms_type = 'S' AND b.setid = a.setid AND b.pymnt_terms_cd = a.pymnt_terms_cd AND b.effdt = ( SELECT MAX(i.effdt) FROM ps_pymt_trms_cntl i WHERE i.setid = b.setid AND i.pymnt_terms_cd = b.pymnt_terms_cd AND i.effdt <= %CurrentDateIn AND i.eff_status = 'A') AND a.setid = c.setid AND a.pymnt_terms_cd = c.pymnt_terms_cd |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | PYMNT_TERMS_APPLIC | Character(1) | VARCHAR2(1) NOT NULL |
Terms Applicability
A=All (Unrestricted) C=Customer-Only Terms V=Supplier-Only Terms |
3 | SNGL_PYMNT_TRMS_CD | Character(5) | VARCHAR2(5) NOT NULL | Single-Payment Terms ID |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |