PYMT_ITEM_SI_VW

(SQL View)
Index Back

Payment Worksheet By Setid


SELECT A.DEPOSIT_BU , A.DEPOSIT_ID , A.PAYMENT_SEQ_NUM , B.SETID , A.BUSINESS_UNIT , A.CUST_ID , A.ITEM , A.ITEM_LINE , A.AR_SEQ_NUM , A.ITEM_SELECTED , A.PAY_AMT , A.BAL_AMT , A.ORIG_BAL_AMT , A.DISC_AMT , A.DISC_ORIG_AMT , A.DISC_TAKEN , A.DISC_STATUS , A.WS_SEQ , A.DISC_ACTION , A.ENTRY_TYPE , A.ENTRY_REASON , A.DUE_DT , A.ENTRY_USE_ID , A.DOCUMENT , A.DISC_AMT1 , A.DISC_DT , A.DISC_DT1 , A.ACCOUNTING_DT , A.DST_ID_AR , A.DISC_DAYS , A.WO_AMT , A.ALLOW_DISC , A.DISC_AVAIL , A.SUBCUST_QUAL1 , A.SUBCUST_QUAL2 , A.PO_REF , A.PO_LINE , A.BILL_OF_LADING , A.PYMNT_TERMS_CD , A.ASOF_DT , A.ITEM_ENTRY_TYPE , A.ITEM_ENTRY_REASON , A.WO_ENTRY_TYPE , A.WO_ENTRY_REASON , A.WO_ENTRY_USE_ID , A.ITEM_ACCTG_DT , A.BAL_CURRENCY , A.BAL_AMT_BASE , A.RATE_MULT , A.RATE_DIV , A.PAY_AMT_ITEM , A.RT_TYPE_NEW , A.RATE_MULT_NEW , A.RATE_DIV_NEW , A.CURRENCY_CD , A.PAY_AMT_BASE , A.REAL_GAIN_LOSS , A.DST_ID_REAL , A.WO_AMT_BASE , A.DISC_BASE , A.WO_AMT_PAY , A.DISC_PAY , A.ORDER_NO , A.CONTRACT_NUM , A.PAYMENT_CURRENCY , A.BUSINESS_UNIT_CA , A.CONTRACT_LINE_NUM FROM PS_PAYMENT_ITEM A , PS_SET_CNTRL_REC B WHERE B.SETCNTRLVALUE = A.BUSINESS_UNIT AND RECNAME = 'CUSTOMER'

  • Parent record: PAYMENT
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 DEPOSIT_BU Character(5) VARCHAR2(5) NOT NULL Identifies the business unit to which a deposit is posted.
    2 DEPOSIT_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated.
    3 PAYMENT_SEQ_NUM Number(6,0) INTEGER NOT NULL Specifies the system-generated sequence number assigned to each payment as it is entered in a deposit.
    4 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    6 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
    7 ITEM Character(30) VARCHAR2(30) NOT NULL Uniquely identifies an invoice credit memo or debit memo. The item ID is also called the invoice number.
    8 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
    9 AR_SEQ_NUM Number(6,0) INTEGER NOT NULL A number that is assigned to draft items to ensure uniqueness of key
    10 ITEM_SELECTED Character(1) VARCHAR2(1) NOT NULL Item selected switch

    Y/N Table Edit

    Default Value: N

    11 PAY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amount
    12 BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Item Balance
    13 ORIG_BAL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Original Balance Amount
    14 DISC_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the discount amount available if payment on an item is made before the discount date. The amount is manually entered or system-generated using the payment terms code. The discount date associated with this amount is specified in DISC_DT. This is the first of two possible discounts associated with an item.
    15 DISC_ORIG_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Original Discount Amount
    16 DISC_TAKEN Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount Taken
    17 DISC_STATUS Character(1) VARCHAR2(1) NOT NULL Discount Status
    E=Earned Discount
    N=No Discount
    U=Unearned Discount
    X=Determine discount status

    Default Value: N

    18 WS_SEQ Number(6,0) INTEGER NOT NULL Worksheet Sequence Number
    19 DISC_ACTION Character(1) VARCHAR2(1) NOT NULL Take Discount

    Y/N Table Edit

    Default Value: N

    20 ENTRY_TYPE Character(5) VARCHAR2(5) NOT NULL Specifies the type of transaction associated with a pending item. The entry type remains with the item after it is posted and affects many areas of Receivables processing. Some examples of entry types are Invoices Credit Memo Prepayment and Deduction.
    21 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

    22 DUE_DT Date(10) DATE Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received.
    23 ENTRY_USE_ID Character(5) VARCHAR2(5) NOT NULL Specifies the System Function or type of processing associated with an entry type.
    24 DOCUMENT Character(30) VARCHAR2(30) NOT NULL Specifies a document used as a reference number for a Receivables item. Document ID is used by the Receivables Update program and the Maintenance Worksheet to "match" related invoices debit memos and credit memos.
    25 DISC_AMT1 Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the discount amount available if payment on an item is made before the discount date. The amount is manually entered or system-generated using the payment terms code. The discount date associated with this amount is specified in DISC_DT1. This is the second of two possible discounts associated with an item.
    26 DISC_DT Date(10) DATE Specifies the date before which payment must be made on an invoice in order to qualify for a discount. This field applies to the first of two possible discounts and is associated with the discount amount specified in DISC_AMT.
    27 DISC_DT1 Date(10) DATE Specifies the date before which payment must be made on an invoice in order to qualify for a discount. This field applies to the second of two possible discounts and is associated with the discount amount specified in DISC_AMT1.
    28 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
    29 DST_ID_AR Character(10) VARCHAR2(10) NOT NULL Specifies the general ledger ChartField combination that is affected when subsequent activity such as a payment occurs for the item.
    30 DISC_DAYS Number(3,0) SMALLINT NOT NULL Specifies the number of days beyond the discount date during which a discount is valid. This defines a discount "grace period".
    31 WO_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Write Off Remaining Amount
    32 ALLOW_DISC Character(1) VARCHAR2(1) NOT NULL A flag that specifies whether or not (Y or N) all discounts for the associated item are to be considered earned even if they have expired.

    Y/N Table Edit

    Default Value: N

    33 DISC_AVAIL Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount Available
    34 SUBCUST_QUAL1 Character(15) VARCHAR2(15) NOT NULL Specifies a user-defined grouping of customer receivables activity. A subcustomer qualifier provides the ability to record and report receivables activity across multiple business units and/or multiple customers. For example a subcustomer qualifier could represent a sales region or a geographic area. There are two possible subcustomer qualifiers: SUBCUST_QUAL1 and SUBCUST_QUAL2.
    35 SUBCUST_QUAL2 Character(15) VARCHAR2(15) NOT NULL Specifies a user-defined grouping of customer receivables activity. A subcustomer qualifier provides the ability to record and report receivables activity across multiple business units and/or multiple customers. For example a subcustomer qualifier could represent a sales region or a geographic area. There are two possible subcustomer qualifiers: SUBCUST_QUAL1 and SUBCUST_QUAL2.
    36 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
    37 PO_LINE Number(3,0) SMALLINT NOT NULL Specifies the line number of a purchase order associated with a receivables item. It is used with the field PO_REF.
    38 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
    39 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.
    40 ASOF_DT Date(10) DATE As of Date
    41 ITEM_ENTRY_TYPE Character(5) VARCHAR2(5) NOT NULL Original Item Entry Type
    42 ITEM_ENTRY_REASON Character(5) VARCHAR2(5) NOT NULL Original Item Entry Reason
    43 WO_ENTRY_TYPE Character(5) VARCHAR2(5) NOT NULL Write Off Entry Type
    44 WO_ENTRY_REASON Character(5) VARCHAR2(5) NOT NULL Write Off Entry Reason
    45 WO_ENTRY_USE_ID Character(5) VARCHAR2(5) NOT NULL WO System Function
    46 ITEM_ACCTG_DT Date(10) DATE Specifies the accounting date of the original item and appears on subsequent entries. This field is used in multicurrency processing.
    47 BAL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Currency Code - Bal Amount
    48 BAL_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Balance - Base Currency
    49 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
    50 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor

    Default Value: 1

    51 PAY_AMT_ITEM Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amount - Item Currency
    52 RT_TYPE_NEW Character(5) VARCHAR2(5) NOT NULL Current Curncy Exchng Rt Type
    53 RATE_MULT_NEW Number(16,8) DECIMAL(15,8) NOT NULL Current Rate Multiplier
    54 RATE_DIV_NEW Number(16,8) DECIMAL(15,8) NOT NULL Current Rate Divisor

    Default Value: 1

    55 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
    56 PAY_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Payment Amt - Base Curr
    57 REAL_GAIN_LOSS Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents the monetary amount of realized gain or loss calculated by the system during payment application or maintenance worksheet (Receivables).
    58 DST_ID_REAL Character(10) VARCHAR2(10) NOT NULL Specifies the general ledger ChartField combination for posting realized gain or loss calculated by the system during payment application or maintenance worksheet (Receivables).
    59 WO_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Write Off Amt Base
    60 DISC_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount Amt Base Curr
    61 WO_AMT_PAY Signed Number(28,3) DECIMAL(26,3) NOT NULL Write Off Amount Pay
    62 DISC_PAY Signed Number(28,3) DECIMAL(26,3) NOT NULL Discount Amt Pay
    63 ORDER_NO Character(10) VARCHAR2(10) NOT NULL Identifies a customer order number that appears as a reference on a receivables pending item. Date Initials Issue Description 022701 mv SP2 (F-CJORGENS-3) CSR Desktop
    64 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
    65 PAYMENT_CURRENCY Character(3) VARCHAR2(3) NOT NULL Identifies the currency of a customer payment. This is generally the same as the currency specified for the deposit but it can be different.
    66 BUSINESS_UNIT_CA Character(5) VARCHAR2(5) NOT NULL Contracts Business Unit
    67 CONTRACT_LINE_NUM Number(3,0) SMALLINT NOT NULL Contract Line Num