OI_ACT_RVL_VW

(SQL View)
Index Back

Revaluation Accounting Line

Revaluation Journal Generator accounting entry View.

SELECT A.BUSINESS_UNIT ,A.VOUCHER_ID ,A.VENDOR_SETID ,A.VENDOR_ID ,A.APPL_JRNL_ID ,A.POSTING_PROCESS ,A.CURRENCY_CD ,A.PRCS_INST_RVL ,A.DST_ACCT_TYPE ,A.LEDGER ,A.VOUCHER_LINE_NUM ,A.DISTRIB_LINE_NUM ,A.WTHD_PYMNT_CNT ,A.FOREIGN_CURRENCY ,A.RT_TYPE ,A.RATE_MULT ,A.RATE_DIV ,A.ACCOUNTING_DT ,A.BUSINESS_UNIT_GL ,A.JOURNAL_ID ,A.JOURNAL_DATE ,A.JOURNAL_LINE ,A.MOVEMENT_FLAG ,A.ACCOUNT ,A.ALTACCT ,A.DEPTID ,A.STATISTICS_CODE ,A.MONETARY_AMOUNT ,A.STATISTIC_AMOUNT ,A.JRNL_LN_REF ,A.OPEN_ITEM_STATUS ,A.FOREIGN_AMOUNT ,A.DESCR ,A.GL_DISTRIB_STATUS ,A.FISCAL_YEAR ,A.ACCOUNTING_PERIOD ,A.PROCESS_INSTANCE ,A.LEDGER_GROUP ,%subrec(CF27_AN_SBR,A) ,A.PROJECT_ID ,A.DOC_TYPE ,A.DOC_SEQ_DATE ,A.DOC_SEQ_NBR ,A.DOC_SEQ_STATUS ,A.RVL_TEST_FLG ,A.OPEN_ITEM_KEY ,A.DTTM_STAMP ,CASE WHEN B.JRNL_HDR_STATUS IS NULL THEN ' ' ELSE B.JRNL_HDR_STATUS END FROM PS_RVL_ACCTG_LN_AP A LEFT OUTER JOIN PS_JRNL_HEADER B ON A.BUSINESS_UNIT_GL = B.BUSINESS_UNIT AND A.JOURNAL_ID = B.JOURNAL_ID AND A.JOURNAL_DATE = B.JOURNAL_DATE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VOUCHER_ID Character(8) VARCHAR2(8) NOT NULL Voucher ID
3 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
5 APPL_JRNL_ID Character(10) VARCHAR2(10) NOT NULL Journal Template
6 POSTING_PROCESS Character(4) VARCHAR2(4) NOT NULL Posting Process
ACAV=Period End Accruals
ACCR=AP Accrual
CANC=Payment Cancelations
CASH=Cash Clearing
CLOS=Voucher Closure
DFTA=Draft Accrual
PCAD=Card
PPAY=Prepaid Reversals
PREP=Prepaids
PYMN=Payments
RACC=Receipt Accrual
RCVL=Revaluation
REVL=Revaluations
VOID=Void
WTHA=Withholding Accrual
7 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
8 PRCS_INST_RVL Number(10,0) DECIMAL(10) NOT NULL Revaluation Process Instance
9 DST_ACCT_TYPE Character(4) VARCHAR2(4) NOT NULL 07/20/04 st: added RCN for Advance Reconciliation 02/16/98 ebn CN#CM800-2.0 : Added for MISC type for Landed Cost Enhancement 11/11/99 llr: Added ADVP for Payables Advance Payment
10 LEDGER Character(10) VARCHAR2(10) NOT NULL Ledger
11 VOUCHER_LINE_NUM Number(5,0) INTEGER NOT NULL Voucher Line Number
12 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line
13 WTHD_PYMNT_CNT Number(5,0) INTEGER NOT NULL Wthd Payment Count

Default Value: 0

14 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
15 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
16 RATE_MULT Signed Number(17,8) DECIMAL(15,8) NOT NULL Rate Multiplier
17 RATE_DIV Number(16,8) DECIMAL(15,8) NOT NULL Rate Divisor
18 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
19 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
20 JOURNAL_ID Character(10) VARCHAR2(10) NOT NULL Identifies a journal entry, consisting of a header and one or more lines. The Journal ID itself does not have to be unique, but together with the journal business unit and journal date, it forms a unique journal identifier.
21 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
22 JOURNAL_LINE Number(9,0) DECIMAL(9) NOT NULL Uniquely identifies a journal line with a sequence number. Within a single journal entry, the line sequence begins with 1 and automatically increments by 1 for each succeeding journal line. There can be any number of lines associated with a journal header.
23 MOVEMENT_FLAG Character(1) VARCHAR2(1) NOT NULL A flag associated with a journal line that indicates whether its amount is in the natural sign or the reversal sign.
N=Natural
R=Reversal
24 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account

Prompt Table: GL_ACCOUNT_TBL

25 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
26 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
27 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
28 MONETARY_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit in the business unit base currency. Debit entries are positive and credit entries are negative. This amount is only zero if associated with a statistical account.
29 STATISTIC_AMOUNT Signed Number(17,2) DECIMAL(15,2) NOT NULL Specifies the amount associated with a statistical account on a journal line or a distribution line. It represents a quantity rather than a monetary amount and is qualified by the Unit of Measure associated with the STATISTICS_CODE or statistics ACCOUNT.
30 JRNL_LN_REF Character(10) VARCHAR2(10) NOT NULL Identifies a document, person, invoice, date, or any other piece of information that is associated with a journal line. It can be manually entered, or be defaulted from an accounting entry definition or from a Journal Generator Template. The journal line reference is optional, but helpful if you need to trace back to the source of the transaction.
31 OPEN_ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Open Item Status
C=Closed Item
N=Not an Open Item Account
O=Open Item
32 FOREIGN_AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Specifies the monetary amount of a debit or credit (accounting entry line) in the entry currency of the item. The sum of FOREIGN_AMOUNT values on AR lines should equal the ENTRY_AMT on the pending item.
33 DESCR Character(30) VARCHAR2(30) NOT NULL Description
34 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
35 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
36 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table.
37 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
38 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
39 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_NB_VW

40 PRODUCT Character(6) VARCHAR2(6) NOT NULL Product ChartField

Prompt Table: PRODUCT_NB_VW

41 FUND_CODE Character(5) VARCHAR2(5) NOT NULL Fund Code

Prompt Table: FUND_NB_VW

42 CLASS_FLD Character(5) VARCHAR2(5) NOT NULL Class Field

Prompt Table: CLASS_CF_NB_VW

43 PROGRAM_CODE Character(5) VARCHAR2(5) NOT NULL Program Code ChartField

Prompt Table: PROGRAM_NB_VW

44 BUDGET_REF Character(8) VARCHAR2(8) NOT NULL Budget Reference

Prompt Table: BUD_REF_NB_VW

45 AFFILIATE Character(5) VARCHAR2(5) NOT NULL Affiliate

Prompt Table: AFFILIATE_VW

46 AFFILIATE_INTRA1 Character(10) VARCHAR2(10) NOT NULL IntraUnit Affiliate1

Prompt Table: %EDIT_INTRA01

47 AFFILIATE_INTRA2 Character(10) VARCHAR2(10) NOT NULL Operating Unit Affiliate

Prompt Table: %EDIT_INTRA02

48 CHARTFIELD1 Character(10) VARCHAR2(10) NOT NULL Expansion chartfield 1

Prompt Table: CF1_NB_VW

49 CHARTFIELD2 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 2

Prompt Table: CF2_NB_VW

50 CHARTFIELD3 Character(10) VARCHAR2(10) NOT NULL Expansion Chartfield 3

Prompt Table: CF3_NB_VW

51 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
52 DOC_TYPE Character(8) VARCHAR2(8) NOT NULL Specifies the business purpose of a financial transaction in countries that require all financial transactions to be tracked as "documents". A Document Type is associated with one and only one Journal Code.
53 DOC_SEQ_DATE Date(10) DATE Specifies the date that a document sequence number is assigned to a document or the date the document was created.
54 DOC_SEQ_NBR Character(12) VARCHAR2(12) NOT NULL Specifies the sequence number assigned to each financial transaction (a document). The sequence number may be manually entered or system-generated.
55 DOC_SEQ_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates a document sequencing error. If there is no error the field is blank and document is considered valid for posting.
1=Document Sequencing Disabled
A=GL BU Undefined
B=GL BU Blank
C=Accounting Date blank
D=Doc Type Blank
E=Jrnl Type, Code, Doc Undefine
F=Sequence Range Undefine
G=Max. Sequence Number Reached
H=Manual Nbr for Auto Doc Type
I=No Manual Number Entered
J=Duplicate Manual Number
K=Invalid Ledger
L=Invalid Ledger Group
N=No Status
56 RVL_TEST_FLG Character(1) VARCHAR2(1) NOT NULL Check Only
57 OPEN_ITEM_KEY Character(30) VARCHAR2(30) NOT NULL Open Item Key
58 DTTM_STAMP DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.

Default Value: %Datetime

59 JRNL_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL A flag that indicates the processing status of a journal entry.
D=Deleted
E=Journal Has Errors
I=Posting Incomplete
M=Valid SJE Model -- Do Not Post
N=No Status - Needs to be Edited
P=Posted to Ledger(s)
T=Journal Entry Incomplete
U=Unposted
V=Valid Journal - Edits Complete
X=Cancelled
Z=Upgrade Journal - Can't Unpost