PC_UNPOST_BD_VW

(SQL View)
Index Back

Unposted Budgets Pivot Grid Vw

Unposted budgets on active projects

SELECT B.BUSINESS_UNIT , B.PROJECT_ID , B.PC_BUDGET_ID , B.ACTIVITY_ID ,B.PC_BUDGET_ITEM , B.SEQ_NBR ,B.BUDGET_PERIOD , C.BEGIN_DT , C.END_DT , B.BD_HDR_STATUS , A.PC_BUDGET_STATUS , B.FOREIGN_AMOUNT , B.FOREIGN_CURRENCY , E.START_DT , E.END_DT FROM PS_PC_BUD_PLAN A , PS_PC_BUD_DETAIL B , PS_CAL_BP_TBL C , PS_SET_CNTRL_REC D , PS_PROJECT E WHERE ( A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.PC_BUDGET_ID = B.PC_BUDGET_ID AND C.CALENDAR_ID = A.CALENDAR_ID AND C.SETID = D.SETID AND D.RECNAME = 'CAL_BP_TBL' AND D.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.BUDGET_PERIOD = B.BUDGET_PERIOD AND (B.KK_DISTRIB_STATUS <> 'D' OR B.PC_DISTRIB_STATUS <>'D') AND A.PC_BUDGET_STATUS <> '3' AND B.BUSINESS_UNIT = E.BUSINESS_UNIT AND B.PROJECT_ID = E.PROJECT_ID AND E.EFF_STATUS = 'A' AND A.PC_FUND_FINALIZED <> 'F' )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
3 PC_BUDGET_ID Number(3,0) SMALLINT NOT NULL Budget Plan ID
4 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
5 PC_BUDGET_ITEM Character(15) VARCHAR2(15) NOT NULL Project Budgeting: Budget Item 11/15/2004- FS - Added label COST_BUDGET_ITEM
6 SEQ_NBR Number(15,0) DECIMAL(15) NOT NULL Sequence Number
7 BUDGET_PERIOD Character(8) VARCHAR2(8) NOT NULL Budget Period
8 BEGIN_DT Date(10) DATE Begin Date
9 PERIOD_END Date(10) DATE Period End Date
10 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
11 PC_BUDGET_STATUS Character(1) VARCHAR2(1) NOT NULL Project Budgeting: Budget Status
1=Active
2=Modified
3=Inactive
12 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.
13 FOREIGN_CURRENCY Character(3) VARCHAR2(3) NOT NULL Foreign Currency Code
14 START_DT Date(10) DATE Start Date
15 END_DT Date(10) DATE End Date