AR_DB_ERROR_VW(SQL View) |
Index Back |
---|---|
Posting errors viewPosting errors view for dashboard |
SELECT a.group_bu , a.group_id , b.business_unit , b.cust_id , b.item , b.item_line , a.oprid , a.assn_oprid , b.AR_ERROR_CD , b.dst_bal_item , a.origin_id , a.entry_dt , b.accounting_dt , a.post_status , a.post_action , A.GROUP_TYPE , a.deposit_bu , a.deposit_id , x.descr , b.currency_cd , COUNT(*) , b.entry_amt_base FROM ps_group_control a , PS_PENDING_ITEM b , ps_origin_tbl c , ps_group_type_tbl x WHERE a.post_status='E' AND b.posted_flag <>'Y' AND a.group_bu=b.group_bu AND a.group_id=b.group_id AND a.origin_id = c.origin_id AND c.setid = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = a.business_unit AND RECNAME = 'ORIGIN_TBL') AND c.effdt = ( SELECT MAX(effdt) FROM ps_origin_tbl WHERE setid=c.setid AND origin_id=c.origin_id AND effdt <= %CurrentDateIn AND eff_status = 'A') AND c.origin_method IN ('E', 'S') AND a.group_type = x.group_type AND x.setid = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = a.business_unit AND RECNAME = 'GROUP_TYPE_TBL') AND x.effdt = ( SELECT MAX(effdt) FROM ps_group_type_tbl WHERE setid=x.setid AND group_type=x.group_type AND effdt <= %CurrentDateIn AND eff_status = 'A') GROUP BY a.group_bu , a.group_id , b.business_unit , b.cust_id , b.item , b.item_line , a.oprid , a.assn_oprid , b.AR_ERROR_CD , b.dst_bal_item , a.origin_id , a.entry_dt , b.accounting_dt , a.post_status , a.post_action , A.GROUP_TYPE , a.deposit_bu, a.deposit_id, x.descr , b.currency_cd , b.entry_amt_base |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GROUP_BU | Character(5) | VARCHAR2(5) NOT NULL |
Represents the high level grouping of multiple general ledger business units.
Default Value: OPR_DEF_TBL_AR.GROUP_BU Prompt Table: SP_BUARGR_NONVW |
2 | 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. |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BUARED_NONVW |
4 | 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 |
5 | 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. |
6 | ITEM_LINE | Number(6,0) | INTEGER NOT NULL | Item Line |
7 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
8 | ASSN_OPRID | Character(30) | VARCHAR2(30) NOT NULL |
Specifies the operator ID of the person who will enter items in a group. This is used when one person enters the control totals and another person enters the actual transactions. The assigned operator is also the person who processes the group and the person who is shown on group inquiry and processing panels.
Prompt Table: OPR_DEF_VW_AR |
9 | AR_ERROR_CD | Character(5) | VARCHAR2(5) NOT NULL | AR Error code field assigned by AR Update. |
10 | DST_BAL_ITEM | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not the accounting entries for a receivables item are in balance. This field is maintained by the system.
I=Complete N=Not Applicable O=Incomplete |
11 | ORIGIN_ID | Character(5) | VARCHAR2(5) NOT NULL | Specifies the source or method of entry for a pending item group. |
12 | ENTRY_DT | Date(10) | DATE | Specifies the date that a group of pending items was entered into the system. This date may be later or the same as the date that the items were received by the organization (See RECEIVED_DT). |
13 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
14 | POST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not a control group of pending items has been fully posted to customer accounts. The posting status also indicates whether or not there were errors encountered during posting. This field is automatically populated by the Receivables Update program.
%=All C=Complete E=Errors N=Not Posted |
15 | POST_ACTION | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not a group of pending items is ready to be processed by the Receivable Update program. The "action" requested can be no action, priority scheduled or standard scheduled.
A=Do Not Post B=Balance Only Now D=Delete This Group Now E=Delete ALL Accounting Entries G=Generate GL Distribution I=Balance and Post Later L=Batch Standard N=Batch Priority V=View |
16 | GROUP_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Specifies a category of transactions included in a group of receivables pending items. The group type affects processing of the transactions and is useful for as a sort/selection option for reports and inquiries. Examples of group type are Billing (for invoices) Payments and Transfers. |
17 | DEPOSIT_BU | Character(5) | VARCHAR2(5) NOT NULL | Identifies the business unit to which a deposit is posted. |
18 | 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. |
19 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
20 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
21 | ITEM_COUNT | Number(5,0) | INTEGER NOT NULL | Item Count |
22 | 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. |