ITEM_DST_RE_VW(SQL View) |
Index Back |
---|---|
Sum of dst lines for RE proc |
SELECT DISTINCT I.business_unit , I.cust_id , I.item , I.item_line , I.item_seq_num , I.system_defined , I.BUDGET_DT , SUM(I.foreign_amount) FROM PS_ITEM_DST I WHERE I.ledger_group = ' ' OR I.primary_ledger = 'Y' GROUP BY I.business_unit, I.cust_id, I.item, I.item_line, I.item_seq_num, I.system_defined, I.BUDGET_DT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUARDS_NONVW |
2 | 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.
Prompt Table: CUST_SRCH_VW |
3 | 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. |
4 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
5 | ITEM_SEQ_NUM | Number(3,0) | SMALLINT NOT NULL | Item Sequence Number |
6 | SYSTEM_DEFINED | Character(2) | VARCHAR2(2) NOT NULL | "A flag that indicates the accounting entry line type. The valid line types are pre-populated by PeopleSoft. For example the value is ""A"" if the line represents a debit or credit to the AR account. Some examples of other values are D (Draft Receivables entry) and L (Cash Control entry). " |
7 | BUDGET_DT | Date(10) | DATE | Budget Date |
8 | FOREIGN_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the monetary amount of a debit or credit (accounting entry line) in the entry currency of the item. The sum of FOREIGN_AMOUNT values on AR lines should equal the ENTRY_AMT on the pending item. |