KK_APPR_H_VW

(SQL View)
Index Back

Budger Journal Approval Header

Fluid Budger Journal Approval Header

SELECT H.BUSINESS_UNIT , H.JOURNAL_ID , H.JOURNAL_DATE , H.LEDGER_GROUP , H.KK_BUDG_TRANS_TYPE , B.BUDG_TYPE , H.FISCAL_YEAR , H.ACCOUNTING_PERIOD , %NumToChar(H.FISCAL_YEAR) %Concat ' / ' %Concat %NumToChar(H.ACCOUNTING_PERIOD) YEAR_PERIOD , H.JRNL_TOTAL_DEBITS , H.JRNL_TOT_CREDITS , 0 MONETARY_AMOUNT , H.CURRENCY_CD , H.DESCR , H.DESCR254 , H.OPRID , O.OPRDEFNDESC , %DatePart(H.JRNL_CREATE_DTTM) , H.ATTACHMENT_EXIST , H.JRNL_PROCESS_REQST , B.SETID1 , B.EFFDT , H.BD_HDR_STATUS , H.BUDGET_HDR_STATUS , H.KK_APPR_STATUS , H.JRNL_TOTAL_LINES , H.POSTED_DATE , H.SYSTEM_SOURCE FROM PS_KK_BUDGET_HDR H , PSOPRDEFN O , PS_SET_CNTRL_REC R , PS_KK_BUDGET_TYPE B WHERE H.UNPOST_SEQ = 0 AND O.OPRID = H.OPRID AND R.SETCNTRLVALUE = H.BUSINESS_UNIT AND R.RECNAME = 'KK_BUDGET_TYPE' AND B.SETID1 = R.SETID AND B.LEDGER_GROUP = H.LEDGER_GROUP AND B.EFF_STATUS <> 'I' AND B.EFFDT=( SELECT MAX(Y.EFFDT) FROM PS_KK_BUDGET_TYPE Y WHERE Y.SETID1 = B.SETID1 AND Y.LEDGER_GROUP = B.LEDGER_GROUP AND Y.EFFDT<=H.JOURNAL_DATE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_GL_NONVW

2 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.
3 JOURNAL_DATE Date(10) DATE Specifies the date the journal was created.
4 LEDGER_GROUP Character(10) VARCHAR2(10) NOT NULL Ledger Group
5 KK_BUDG_TRANS_TYPE Character(1) VARCHAR2(1) NOT NULL Budget Entry Type
0=Original
1=Adjustment
2=Transfer Adjustment
3=Transfer Original
4=Closing
5=Roll Forward
6 BUDG_TYPE Character(1) VARCHAR2(1) NOT NULL Budget Type
E=Expense
R=Revenue
7 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
8 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.
9 YEAR_PERIOD Character(10) VARCHAR2(10) NOT NULL Combination Field of ChartField year and period
10 JRNL_TOTAL_DEBITS Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a running total of the debit amounts in a journal entry. It is maintained by PeopleSoft General Ledger as lines are entered.
11 JRNL_TOT_CREDITS Signed Number(28,3) DECIMAL(26,3) NOT NULL Represents a running total of the credit amounts in a journal entry. It is maintained by PeopleSoft General Ledger as lines are entered.
12 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.
13 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
14 JRNL_DESCR Character(30) VARCHAR2(30) NOT NULL Journal Description
15 DESCR254 Character(254) VARCHAR2(254) NOT NULL Description of length 254
16 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
17 ENTERED_BY Character(30) VARCHAR2(30) NOT NULL Entered by
18 ENTERED_DT Date(10) DATE Entered on
19 ATTACHMENT_EXIST Character(1) VARCHAR2(1) NOT NULL Attachments Exist
N=N
Y=Y
20 JRNL_PROCESS_REQST Character(1) VARCHAR2(1) NOT NULL A flag that determines when a journal is ready for posting. Some examples of the request flag are Approved to Post, Denied, and Pending Approval.
D=Default
E=Denied
G=Pending Approval
N=None
P=Approved to Post
Q=Pending for Unpost Approval
R=Replace
S=Security Denied
T=Terminated
U=Pending Request to Unpost
W=Approved to Post
X=Delete
21 SETID_LEDGER_GROUP Character(5) VARCHAR2(5) NOT NULL Ledger Group SetID
22 EFFDT_LDGR_GRP1 Date(10) DATE Effective Date for a ledger group
23 BD_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL Budget Header Status: N - Posting has not been run against the journal E - The journal has failed edits V - The journal has passed edits but cannot be posted due to monetary related issues S - One ore more journal lines have failed the security edits P - The journal has been posted the ledger U - The journal has been unposted I - Incomplete journal pending SaveEdit to validate Security
B=Not Balanced
C=Checked Only
E=Error
I=Incomplete
N=None
P=Posted
S=Security Error
U=Unposted
V=Errors
24 BUDGET_HDR_STATUS Character(1) VARCHAR2(1) NOT NULL Budget Checking Header Status
E=Error in Budget Check
I=Document In Processing
N=Not Budget Checked
P=Provisionally Valid
V=Valid
25 KK_APPR_STATUS Character(1) VARCHAR2(1) NOT NULL Approval Status
0=Not Required
1=Not Submitted
2=Pending
3=Approved
4=Denied
5=Pushed Back
6=Canceled
7=Resubmittable
26 JRNL_TOTAL_LINES Number(9,0) DECIMAL(9) NOT NULL Represents a running total of the number of lines in a journal entry. It is maintained by PeopleSoft General Ledger as lines are entered.
27 POSTED_DATE Date(10) DATE Specifies the date that a journal entry is posted. This field is maintained by the posting program of PeopleSoft General Ledger.
28 SYSTEM_SOURCE Character(3) VARCHAR2(3) NOT NULL Identifies the application or source system that generated a journal entry. Release 8.80 - 11/14/2002 - RVlasic - Removed GDM (JrnlGen - Deduction Management) from Translate Values. SUJ---Included a label as Product. Release 8.9 - 05/11/2005 - RVlasic - Added PRV (Variance Pricing) and PKK (KK Budget Journal) and deleted GLK for Project Costing per Brian Cohen.