AR_WC_PRJ_VW(SQL View) |
Index Back |
---|---|
Project Revenue Adjustments |
SELECT DISTINCT IA.BUSINESS_UNIT , IA.CUST_ID , IA.ITEM , IA.ITEM_LINE , IA.ITEM_SEQ_NUM , IA.ENTRY_TYPE , IA.ENTRY_REASON , IA.ACCOUNTING_DT , IA.POST_DT , IA.ENTRY_AMT_BASE , IA.CURRENCY_CD , IA.GROUP_BU , IA.GROUP_ID FROM PS_ITEM I , PS_ITEM_ACTIVITY IA , PS_ITEM_DST DST WHERE DST.BUSINESS_UNIT_PC <> ' ' AND DST.PROJECT_ID <> ' ' AND IA.PC_DISTRIB_STATUS = 'N' AND IA.ENTRY_USE_ID IN ('FC-01','IT-01','IT-02', 'MT-02', 'MT-03','MT-04','MT-07','WS-02','WS-03','WS-08','WS-09','WS-11') AND I.BUSINESS_UNIT = IA.BUSINESS_UNIT AND I.CUST_ID = IA.CUST_ID AND I.ITEM = IA.ITEM AND I.ITEM_LINE = IA.ITEM_LINE AND IA.BUSINESS_UNIT = DST.BUSINESS_UNIT AND IA.CUST_ID = DST.CUST_ID AND IA.ITEM = DST.ITEM AND IA.ITEM_LINE = DST.ITEM_LINE AND IA.ITEM_SEQ_NUM = DST.ITEM_SEQ_NUM AND DST.SYSTEM_DEFINED = 'U' AND (DST.LEDGER_GROUP = ( SELECT A.LEDGER_GROUP FROM PS_BU_LED_GRP_TBL A WHERE A.BUSINESS_UNIT = DST.BUSINESS_UNIT_GL AND A.DEFAULT_LEDGER_GRP = 'Y') OR DST.LEDGER_GROUP = ' ') AND (DST.LEDGER = ( SELECT B.LEDGER FROM PS_LED_GRP_LED_TBL B WHERE B.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = DST.BUSINESS_UNIT_GL AND RECNAME = 'LED_GRP_LED_TBL') AND B.LEDGER_GROUP = DST.LEDGER_GROUP AND B.PRIMARY_LEDGER = 'Y') OR DST.LEDGER = ' ') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_TBL_FS |
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_BI_A2_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 | 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.
Prompt Table: ENTRY_TYPE_TBL |
7 | 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 |
8 | ACCOUNTING_DT | Date(10) | DATE NOT NULL | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
9 | POST_DT | Date(10) | DATE NOT NULL | The Date a transaction was Posted. |
10 | 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. |
11 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
12 | GROUP_BU | Character(5) | VARCHAR2(5) NOT NULL | Represents the high level grouping of multiple general ledger business units. |
13 | 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. |