CA_AP_SCHED_RVS

(SQL View)
Index Back

SELECT A.CONTRACT_NUM ,A. ACCT_PLAN_ID ,A.CONTRACT_LINE_NUM ,A.EVENT_NUM ,A.DST_SEQ_NUM ,A.DST_USE ,A.SEQ_NUM ,A.DST_ID ,A.ACCOUNTING_DT ,A.ACCOUNT ,A.ALTACCT ,A.DEPTID ,%subrec(CF16_AN_SBR,A) ,%subrec(PC_CF1_N_SBR,A) ,A.STATISTICS_CODE ,A.AMOUNT ,A.CURRENCY_CD ,A.GL_DISTRIB_STATUS FROM PS_CA_AP_SCHEDULE A , PS_CA_AP_EVENT B WHERE A.CONTRACT_NUM = B.CONTRACT_NUM AND A.ACCT_PLAN_ID =B.ACCT_PLAN_ID AND A.EVENT_NUM = B.EVENT_NUM AND B.AP_EVENT_STATUS NOT IN ('RVS', 'RIN', 'RIP') AND A.CHG_ID = ' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
2 ACCT_PLAN_ID Character(10) VARCHAR2(10) NOT NULL Revenue Recognition Plan
3 CONTRACT_LINE_NUM Number(3,0) SMALLINT NOT NULL Contract Line Num
4 EVENT_NUM Number(3,0) SMALLINT NOT NULL Event Number
5 DST_SEQ_NUM Number(6,0) INTEGER NOT NULL Distribution Sequence
6 DST_USE Character(3) VARCHAR2(3) NOT NULL Added the following inactive translates for Contracts 8.4: AP Accounts Payable Liability AS Fixed Asset CA Contra Asset CG Cost of Goods Sold CL Contra Liability EX Expense IN Inventory WP Work In Progress
7 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
8 DST_ID Character(10) VARCHAR2(10) NOT NULL Distribution Code
9 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
10 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
11 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
12 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
13 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

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

Prompt Table: PRODUCT_BUGL_VW

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

Prompt Table: FUND_BUGL_VW

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

Prompt Table: CLASSCF_BUGL_VW

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

Prompt Table: PROGRAM_BUGL_VW

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

Prompt Table: BUD_REF_BUGL_VW

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: CF1_BUGL_VW

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

Prompt Table: CF2_BUGL_VW

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

Prompt Table: CF3_BUGL_VW

25 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit

Prompt Table: %EDIT_BU_PC

26 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField

Prompt Table: %EDIT_PROJECT

27 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID

Prompt Table: %EDIT_ACTIVITY

28 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type

Prompt Table: PROJ_RESTYPE_FS
Set Control Field: BUSINESS_UNIT_PC

29 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category

Prompt Table: %EDIT_RES_CAT
Set Control Field: BUSINESS_UNIT_PC

30 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory

Prompt Table: %EDIT_RES_SUB
Set Control Field: BUSINESS_UNIT_PC

31 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type

Prompt Table: %EDIT_ANALYSIS
Set Control Field: BUSINESS_UNIT_PC

32 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
33 AMOUNT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amount
34 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
35 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