CNTRCT_DSTRB_FS

(SQL View)
Index Back

Contract Distrib Line


SELECT A.SETID ,A.CNTRCT_ID ,A.VERSION_NBR ,A.CNTRCT_LINE_NBR ,A.BUSINESS_UNIT ,A.CNTRCT_TYPE ,A.DISTRIB_LINE_NUM ,A.LOCATION ,A.ACCOUNT ,A.ALTACCT , A.DEPTID ,A.STATISTICS_CODE ,A.STATISTIC_AMOUNT ,A.BUSINESS_UNIT_GL ,A.DESCR ,A.CURRENCY_CD ,%subrec(CF16_AN_SBR, A) ,A.PROJECT_ID ,A.BUSINESS_UNIT_PC ,A.ACTIVITY_ID ,A.ANALYSIS_TYPE ,A.RESOURCE_TYPE ,A.RESOURCE_CATEGORY ,A.RESOURCE_SUB_CAT ,A.PROFILE_ID ,A.BUSINESS_UNIT_AM ,A.FINANCIAL_ASSET_SW ,A.BUSINESS_UNIT_IN ,A.RT_TYPE ,A.DISTRIB_PCT ,A.COST_TYPE ,A.CAP_NUM ,A.CAP_SEQUENCE ,A.JRNL_LN_REF ,A.OPEN_ITEM_KEY ,A.OPEN_ITEM_STATUS ,A.MERCH_AMT_DIST ,%subrec(LAST_UPDATE_SBR, A) FROM PS_CNTRCT_DSTRB A

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
3 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number

Default Value: 1

4 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr

Default Value: 1

5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
6 CNTRCT_TYPE Character(2) VARCHAR2(2) NOT NULL Contract Type
AP=Recurring Voucher
GN=General Contract
MS=Master Contract
PO=Purchase Order
7 DISTRIB_LINE_NUM Number(5,0) INTEGER NOT NULL Distribution Line

Default Value: 1

8 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
9 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
10 ALTACCT Character(10) VARCHAR2(10) NOT NULL Alternate Account
11 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPTID_BUGL_VW

12 STATISTICS_CODE Character(3) VARCHAR2(3) NOT NULL Statistics Code
13 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.
14 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
15 DESCR Character(30) VARCHAR2(30) NOT NULL Description
16 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Default Value: CNTRCT_HDR.CURRENCY_CD

17 OPERATING_UNIT Character(8) VARCHAR2(8) NOT NULL Operating Unit ChartField

Prompt Table: OPERUNT_BUGL_VW

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

Prompt Table: PRODUCT_BUGL_VW

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

Prompt Table: FUND_BUGL_VW

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

Prompt Table: CLASSCF_BUGL_VW

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

Prompt Table: PROGRAM_BUGL_VW

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

Prompt Table: BUD_REF_BUGL_VW

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

Prompt Table: AFFILIATE_VW

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

Prompt Table: %EDIT_INTRA01

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

Prompt Table: %EDIT_INTRA02

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

Prompt Table: CF1_BUGL_VW

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

Prompt Table: CF2_BUGL_VW

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

Prompt Table: CF3_BUGL_VW

29 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
30 BUSINESS_UNIT_PC Character(5) VARCHAR2(5) NOT NULL PC Business Unit
31 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
32 ANALYSIS_TYPE Character(3) VARCHAR2(3) NOT NULL Analysis Type
33 RESOURCE_TYPE Character(5) VARCHAR2(5) NOT NULL Source Type
34 RESOURCE_CATEGORY Character(5) VARCHAR2(5) NOT NULL Category
35 RESOURCE_SUB_CAT Character(5) VARCHAR2(5) NOT NULL Subcategory
36 PROFILE_ID Character(10) VARCHAR2(10) NOT NULL Asset Profile ID
37 BUSINESS_UNIT_AM Character(5) VARCHAR2(5) NOT NULL AM Business Unit
38 FINANCIAL_ASSET_SW Character(1) VARCHAR2(1) NOT NULL Capitalized Asset
N=Non Cap
Y=Capitalize
39 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
40 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.
41 DISTRIB_PCT Number(8,4) DECIMAL(7,4) NOT NULL Distribution Percentage
42 COST_TYPE Character(1) VARCHAR2(1) NOT NULL Cost Type
43 CAP_NUM Character(15) VARCHAR2(15) NOT NULL Capital Acquisition Plan #
44 CAP_SEQUENCE Number(3,0) SMALLINT NOT NULL CAP Sequence
45 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.
46 OPEN_ITEM_KEY Character(30) VARCHAR2(30) NOT NULL Open Item Key

Prompt Table: %RECNAME_EDIT

47 OPEN_ITEM_STATUS Character(1) VARCHAR2(1) NOT NULL Open Item Status
C=Closed Item
N=Not an Open Item Account
O=Open Item
48 MERCH_AMT_DIST Signed Number(28,3) DECIMAL(26,3) NOT NULL Distribution Merchandise Amt
49 OPRID_MODIFIED_BY Character(30) VARCHAR2(30) NOT NULL Last User to Modify Entered By 07/25/2011:Ensured that OPRID_MODIFIED_BY is set with format type of MixedCase.
50 LAST_DTTM_UPDATE 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.