PYMT_ACT_CST_VW

(SQL View)
Index Back

Items Activity from a Payment


SELECT A.deposit_id , A.deposit_bu , A.payment_seq_num , A.business_unit , A.cust_id , A.item , A.item_line , A.item_seq_num , C.name1 , A.entry_type , A.entry_reason , A.payment_amt , A.payment_currency , A.entry_amt , A.entry_currency , A.entry_amt_base , A.currency_cd , A.document , A.po_ref , A.bill_of_lading , A.consol_invoice , A.payment_id , A.subrog_case_num , A.group_id , A.entry_use_id FROM ps_customer C , PS_ITEM_ACTIVITY A WHERE A.deposit_bu <> ' ' AND C.setid=( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = A.business_unit AND RECNAME='CUSTOMER') AND C.cust_id=A.cust_id

  • Related Language Record: PYMT_ACT_CSTLVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 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.
    2 DEPOSIT_BU Character(5) VARCHAR2(5) NOT NULL Identifies the business unit to which a deposit is posted.
    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 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    5 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.
    6 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.
    7 ITEM_LINE Number(6,0) INTEGER NOT NULL Item Line
    8 ITEM_SEQ_NUM Number(3,0) SMALLINT NOT NULL Item Sequence Number
    9 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    10 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.
    11 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""."
    12 PAYMENT_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the amount of a customer payment.
    13 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.
    14 ENTRY_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents the monetary amount of a pending item transaction such as invoice or credit memo.
    15 ENTRY_CURRENCY Character(3) VARCHAR2(3) NOT NULL Specifies the currency associated with the monetary amount of a pending item.
    16 ENTRY_AMT_BASE Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents the monetary amount of a pending item transaction such as invoice or credit memo in the base currency of the business unit.
    17 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
    18 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.
    19 PO_REF Character(30) VARCHAR2(30) NOT NULL Specifies the purchase order number associated with a receivables item.
    20 BILL_OF_LADING Character(30) VARCHAR2(30) NOT NULL Specifies a bill of lading number associated with a Receivables item.
    21 CONSOL_INVOICE Character(22) VARCHAR2(22) NOT NULL Specifies the invoice identifier associated with a consolidated bill.
    22 PAYMENT_ID Character(15) VARCHAR2(15) NOT NULL Identifies a customer payment. This is usually a check number but may be some other identifying number.
    23 SUBROG_CASE_NUM Character(30) VARCHAR2(30) NOT NULL Subrogation case number used for Insurance
    24 GROUP_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a collection of pending items that are to be posted to accounts receivable. The identifier is manually entered or automatically generated by the system.
    25 ENTRY_USE_ID Character(5) VARCHAR2(5) NOT NULL Specifies the System Function or type of processing associated with an entry type.