GRP_SNGLITEM_VW(SQL View) |
Index Back |
---|---|
All Single Items / Item Groups |
SELECT a.group_bu , a.group_id , b.business_unit , b.cust_id , b.item , b.item_line , b.group_seq_num , a.oprid , a.assn_oprid , a.origin_id , a.group_type , c.descrshort , a.post_status , b.payment_plan FROM ps_group_control a , PS_PENDING_ITEM b , ps_group_type_tbl c WHERE a.group_type NOT IN ('P','D') AND a.group_bu=b.group_bu AND a.group_id=b.group_id AND c.setid = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = a.business_unit AND RECNAME = 'GROUP_TYPE_TBL') AND c.group_type = a.group_type AND c.effdt = ( SELECT MAX(effdt) FROM ps_group_type_tbl WHERE setid=c.setid AND group_type=c.group_type AND effdt <= %CurrentDateIn AND eff_status = 'A') |
# | 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.
Prompt Table: GRP_ALL_ITM_VW |
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 | GROUP_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Specifies the system-assigned sequence number of a pending item within a group. A group is a postable entity that may be entered online or created by the system. In either case the group sequence number is automatically generated. |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL |
A user's ID (see PSOPRDEFN).
Prompt Table: OPR_DEF_VW_AR |
9 | 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 |
10 | ORIGIN_ID | Character(5) | VARCHAR2(5) NOT NULL |
Specifies the source or method of entry for a pending item group.
Prompt Table: ORIGIN_TBL |
11 | 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. |
12 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
13 | 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 |
14 | PAYMENT_PLAN | Character(15) | VARCHAR2(15) NOT NULL |
Payment Plan
Prompt Table: GRP_PPLAN_VW |