AR_WC_ACTGL_VW

(SQL View)
Index Back

Accounting Entries to GL view


SELECT DISTINCT G.GROUP_BU , G.GROUP_ID , G.OPRID , G.ASSN_OPRID , G.GROUP_TYPE , G.ORIGIN_ID , G.ENTRY_DT , G.ACCOUNTING_DT , G.POST_STATUS , G.POST_ACTION , G.BAL_STATUS , G.CONTROL_CURRENCY , G.CONTROL_AMT , G.ENTERED_AMT , G.POSTED_TOTAL , G.FORMAT_CURRENCY , B.GL_DISTRIB_STATUS FROM PS_ITEM_ACTIVITY A , PS_ITEM_DST B , PS_GROUP_CONTROL G WHERE A.GROUP_BU=G.GROUP_BU AND A.GROUP_ID=G.GROUP_ID AND A.BUSINESS_UNIT=B.BUSINESS_UNIT AND A.CUST_ID= B.CUST_ID AND A.ITEM= B.ITEM AND A.ITEM_LINE=B.ITEM_LINE AND A.ITEM_SEQ_NUM= B.ITEM_SEQ_NUM AND B.GL_DISTRIB_STATUS='N' AND (1 = ( SELECT 1 FROM PS_INSTALLATION I WHERE I.COMMITMENT_CNTL_AR <> 'Y') OR (A.ARRE_STATUS <> ' ' AND (A.ARRE_STATUS IN ('B', 'N') OR (EXISTS ( SELECT 'X' FROM PS_AR_CC_TRAN_HDR R WHERE R.BUSINESS_UNIT = A.BUSINESS_UNIT AND R.CUST_ID = A.CUST_ID AND R.ITEM = A.ITEM AND R.ITEM_LINE = A.ITEM_LINE AND R.ITEM_SEQ_NUM = A.ITEM_SEQ_NUM AND R.BUDGET_HDR_STATUS = 'V')))))

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

3 ORIG_OPRID Character(30) VARCHAR2(30) NOT NULL User ID

Prompt Table: OPR_DEF_VW_AR

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: OPR_DEF_VW_AR

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 ORIGIN_ID Character(5) VARCHAR2(5) NOT NULL Specifies the source or method of entry for a pending item group.
7 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).
8 ACCOUNTING_DT Date(10) DATE NOT NULL The accounting entry construction date for a given transaction (a generic field that crosses multiple
9 WC_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.
C=Complete
E=Errors
N=Not Posted
10 WC_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
G=Post Now To GL
L=Batch Standard
N=Batch Priority
P=Post Now
11 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
12 CONTROL_CURRENCY Character(3) VARCHAR2(3) NOT NULL Specifies the currency for all Receivables items in a control group. If this field is not blank the system will accept items with the specified currency only.

Prompt Table: AR_CNTL_CUR_VW

13 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.
14 ENTERED_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents the total currency amount of all pending items actually entered in a group and is compared with the control total amount. The Receivables Update program automatically calculates this total.
15 POSTED_TOTAL Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents the total monetary amount of all pending items in a group that have been posted to customer accounts. The Receivables Update program automatically calculates this total.
16 FORMAT_CURRENCY Character(3) VARCHAR2(3) NOT NULL Specifies the currency that controls the precision of the amount totals for a group of pending items. If CONTROL_CURRENCY is entered then the same currency code should be used here.
17 GL_DISTRIB_STATUS Character(1) VARCHAR2(1) NOT NULL Distribution Status
C=Available to Contracts
D=Distributed
G=Generated
H=Hold
I=Ignored
J=Creating Journals
M=Modified
N=None
P=To be processed
X=Waiting for Reversal