UNPOST_GRP_VW

(SQL View)
Index Back

Group Control Information


SELECT DISTINCT a.group_bu , a.group_id , a.oprid , a.assn_oprid , a.group_type , a.bal_status , a.edit_status , a.post_status , a.post_action , a.control_amt , a.control_cnt , a.origin_id , b.origin_method , a.entry_dt , a.post_dt , a.accounting_dt , a.deposit_bu , a.deposit_id , a.payment_seq_num , a.payment_id , d.draft_bu , d.draft_id FROM PS_GROUP_CONTROL A , PS_PENDING_ITEM D , PS_ORIGIN_TBL B WHERE ((A.post_status = 'C' AND A.group_type <> 'U' ) OR (A.post_status <> 'C' AND A.group_type = 'U' )) 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 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 %Join(COMMON_KEYS, GROUP_CONTROL A, PENDING_ITEM D) AND NOT (A.GROUP_TYPE = 'P' AND EXISTS( SELECT 'X' FROM PS_BANK_CD_TBL T WHERE T.SETID = A.BANK_SETID AND T.BANK_CD = A.BANK_CD AND T.BANK_TYPE = 'N' ))

# 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.
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: GROUP_CONTROL

3 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).

Prompt Table: OPRID_VW

4 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: OPRID_VW

5 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.

Prompt Table: GROUP_TYPE_I_VW

6 BAL_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not the control totals for a deposit match the entered totals. A deposit is considered "balanced" when the two sets of totals are equal.
I=Balanced
O=Not Balanced

Default Value: O

7 EDIT_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not a group has been edited for valid values and control total balance. This field is populated automatically during online data entry and during the Receivables update process.
E=Edited
N=Not Edited

Default Value: E

8 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

Default Value: N

9 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

Default Value: A

10 CONTROL_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the total monetary amount of all transactions within a group of pending items using the entry currency of each item. For mixed currencies this becomes a hash total. Receivables compares the control amount to the actual amount entered and calculates the difference in order to help verify that all entries have been made correctly.
11 CONTROL_CNT Number(6,0) INTEGER NOT NULL Represents the number of pending items in a control group. Receivables compares the control count to the actual entry count and calculates the difference in order to help verify that all entries have been made correctly
12 ORIGIN_ID Character(5) VARCHAR2(5) NOT NULL Specifies the source or method of entry for a pending item group.

Prompt Table: %EDITTABLE

13 ORIGIN_METHOD Character(1) VARCHAR2(1) NOT NULL Origin Method
E=External
S=Online

Default Value: S

14 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).
15 POST_DT Date(10) DATE The Date a transaction was Posted.
16 ACCOUNTING_DT Date(10) DATE NOT NULL The accounting entry construction date for a given transaction (a generic field that crosses multiple
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 PAYMENT_SEQ_NUM Number(6,0) INTEGER NOT NULL Specifies the system-generated sequence number assigned to each payment as it is entered in a deposit.
20 PAYMENT_ID Character(15) VARCHAR2(15) NOT NULL Identifies a customer payment. This is usually a check number but may be some other identifying number.
21 DRAFT_BU Character(5) VARCHAR2(5) NOT NULL Identifies the Receivables business unit associated with a draft. This field is maintained by the Draft Creation process.
22 DRAFT_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a payment draft. The Draft ID is system-generated during the Draft Creation process or manually entered.