GST_ORD_AMT_VW(SQL View) |
Index Back |
---|---|
GST_ORD_AMT_VW |
SELECT I.DEPOSIT_BU , I.DEPOSIT_ID , I.PAYMENT_SEQ_NUM , I.BUSINESS_UNIT ,I. CUST_ID , I.ITEM , I.ITEM_LINE , I.ORDER_NO , SUM(%DecMult(O.PRICE, O.QTY_ORDERED)) FROM PS_ORD_LINE O , PS_PAYMENT_ITEM I WHERE I.BUSINESS_UNIT = O.BUSINESS_UNIT AND I.ORDER_NO = O.ORDER_NO GROUP BY I.DEPOSIT_BU, I.DEPOSIT_ID, I.PAYMENT_SEQ_NUM, I.BUSINESS_UNIT,I. CUST_ID, I.ITEM, I.ITEM_LINE, I.ORDER_NO |
# | 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 | 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 | 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 |
9 | AMT2 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Used in Virtual Approver to store the various rule amounts that go on each approval step |