AR_DSTGL1_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.CUST_ID , A.ITEM , A.ITEM_LINE , A.ITEM_SEQ_NUM , A.ENTRY_TYPE , A.ENTRY_REASON FROM PS_ITEM_ACTIVITY A , PS_BUS_UNIT_OPT_AR R , PS_SET_CNTRL_REC S WHERE A.ENTRY_USE_ID IN ('IT-01', 'IT-02', 'FC-01') AND R.SETID = S.SETID AND S.SETCNTRLVALUE = A.BUSINESS_UNIT AND S.RECNAME = 'BUS_UNIT_OPT_AR' AND EXISTS ( SELECT 'X' FROM PS_AUTO_ENTRY_TBL AE , PS_SET_CNTRL_REC S1 WHERE AE.SETID = S1.SETID AND S1.SETCNTRLVALUE = A.BUSINESS_UNIT AND S1.RECNAME = 'AUTO_ENTRY_TBL' AND AE.ENTRY_USE_ID = A.ENTRY_USE_ID AND AE.ENTRY_TYPE = A.ENTRY_TYPE AND AE.DST_GL <> 'Y' AND AE.EFF_STATUS = 'A' AND AE.EFFDT <= ( SELECT MAX(B.EFFDT) FROM PS_AUTO_ENTRY_TBL B WHERE B.SETID = AE.SETID AND B.ENTRY_TYPE = AE.ENTRY_TYPE AND B.ENTRY_USE_ID = AE.ENTRY_USE_ID)) |
# | 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 |