GRP_UPST_EXT_VW

(SQL View)
Index Back

Extrnl Groups Avail for Unpost


select A.group_bu, A.group_id, A.origin_id, A.post_status, A.entry_dt, A.post_dt, A.assn_oprid from PS_GROUP_CONTROL A where A.post_status = 'C' and A.group_type <> 'P' and A.group_type <> 'D' and A.group_type <> 'M' and A.group_type <> 'T' and A.group_type <> 'U' and A.group_type <> 'F' and not exists ( select 'X' from PS_GROUP_CONTROL G where A.group_bu = G.group_bu and A.group_id = G.group_id_orig and G.group_type = 'U' ) and exists (select 'x' from PS_ORIGIN_TBL b where b.setid=(select setid from ps_set_cntrl_rec where setcntrlvalue = A.business_unit and recname = 'ORIGIN_TBL') and b.origin_id = A.origin_id and b.effdt=(select max(effdt) from PS_ORIGIN_TBL where setid = b.setid and origin_id = b.origin_id and effdt <= %currentdatein and eff_status = 'A') and b.origin_method = 'E')

# 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_UPST_EXT_VW

3 ORIGIN_ID Character(5) VARCHAR2(5) NOT NULL Specifies the source or method of entry for a pending item group.
4 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
5 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).
6 POST_DT Date(10) DATE The Date a transaction was Posted.
7 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.