PYMT_TR_DSC_VW

(SQL View)
Index Back

Payment Terms Discount View

Returns all active/effective Payment Terms having associated discount terms; includes Multi-Payment Terms having one or more installments with discount terms.

SELECT A.SETID , A.PYMNT_TERMS_CD , A.DESCR FROM PS_PYMT_TR_EFF_VW A WHERE EXISTS ( SELECT 'X' FROM PS_PYMT_TRMS_NET I WHERE I.SETID = A.SETID AND I.PYMNT_TERMS_CD = A.PYMNT_TERMS_CD AND I.DSC_TRMS_AVAIL_FLG = 'Y') OR EXISTS ( SELECT 'X' FROM PS_PYMT_TRMS_INST J , PS_PYMT_TRMS_NET K WHERE J.SETID = A.SETID AND J.PYMNT_TERMS_CD = A.PYMNT_TERMS_CD AND K.SETID = J.SETID AND K.PYMNT_TERMS_CD = J.SNGL_PYMNT_TRMS_CD AND K.DSC_TRMS_AVAIL_FLG = 'Y')

  • Related Language Record: PY_TR_DSC_LG_VW
  • # 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 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 DESCR Character(30) VARCHAR2(30) NOT NULL Description