GRP_SNGLITM_LVW(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 , L.LANGUAGE_CD , L.descrshort FROM ps_group_control a , PS_PENDING_ITEM b , ps_group_type_tbl c , PS_GROUP_TYPE_LG L 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') AND C.SETID = L.SETID AND C.GROUP_TYPE = L.GROUP_TYPE AND C.EFFDT = ( SELECT MAX(EFFDT) FROM PS_GROUP_TYPE_LG WHERE SETID=C.SETID AND GROUP_TYPE=C.GROUP_TYPE AND EFFDT <= %CurrentDateIn ) |
# | 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_BUARED_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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
9 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |