PYM_TR_CT_EFFV(SQL View) |
Index Back |
---|---|
Payment Terms ControlEffective Dated View for Payment Terms Control |
SELECT a.setid , a.pymnt_terms_cd , a.effdt , a.eff_status , a.pymnt_terms_applic , a.nbr_of_terms FROM PS_PYMT_TRMS_CNTL a WHERE a.effdt = ( SELECT MAX(aa.effdt) FROM PS_PYMT_TRMS_CNTL aa WHERE aa.setid = a.setid AND aa.pymnt_terms_cd = a.pymnt_terms_cd AND aa.effdt <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL | Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers. |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
5 | PYMNT_TERMS_APPLIC | Character(1) | VARCHAR2(1) NOT NULL |
Terms Applicability
A=All (Unrestricted) C=Customer-Only Terms V=Supplier-Only Terms Default Value: V |
6 | NBR_OF_TERMS | Number(2,0) | SMALLINT NOT NULL | Number of Terms |