CNTRCT_DSTAP_VW(SQL View) |
Index Back |
---|---|
Contract AP Distrib LineContract AP 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) ,%subrec(PC_CF1_N_SBR,A) , 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 WHERE A.CNTRCT_TYPE = 'AP' |
# | 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 |
4 | CNTRCT_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Buying Agreement Line Nbr |
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
Prompt Table: %EDIT_ACCOUNT |
10 | ALTACCT | Character(10) | VARCHAR2(10) NOT NULL |
Alternate Account
Prompt Table: %EDIT_ALTACCT |
11 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table:
%EDIT_DEPT
|
12 | STATISTICS_CODE | Character(3) | VARCHAR2(3) NOT NULL |
Statistics Code
Prompt Table: STAT_BUGL_VW |
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
Default Value: BUS_UNIT_TBL_PM.BUSINESS_UNIT_GL Prompt Table: SP_BUPRCR_NONVW |
15 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
16 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Prompt Table: CURRENCY_CD_TBL |
17 | OPERATING_UNIT | Character(8) | VARCHAR2(8) NOT NULL |
Operating Unit ChartField
Prompt Table: %EDIT_OPER_UNIT |
18 | PRODUCT | Character(6) | VARCHAR2(6) NOT NULL |
Product ChartField
Prompt Table: %EDIT_PRODUCT |
19 | FUND_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Fund Code
Prompt Table: %EDIT_FUND_CODE |
20 | CLASS_FLD | Character(5) | VARCHAR2(5) NOT NULL |
Class Field
Prompt Table: %EDIT_CLASS_FLD |
21 | PROGRAM_CODE | Character(5) | VARCHAR2(5) NOT NULL |
Program Code ChartField
Prompt Table: %EDIT_PROG_CODE |
22 | BUDGET_REF | Character(8) | VARCHAR2(8) NOT NULL |
Budget Reference
Prompt Table: %EDIT_BUD_REF |
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: %EDIT_CHARTFLD1 |
27 | CHARTFIELD2 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 2
Prompt Table: %EDIT_CHARTFLD2 |
28 | CHARTFIELD3 | Character(10) | VARCHAR2(10) NOT NULL |
Expansion Chartfield 3
Prompt Table: %EDIT_CHARTFLD3 |
29 | BUSINESS_UNIT_PC | Character(5) | VARCHAR2(5) NOT NULL |
PC Business Unit
Prompt Table: %EDIT_BU_PC |
30 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: %EDIT_PROJECT |
31 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: %EDIT_ACTIVITY |
32 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table:
PROJ_RESTYPE_FS
|
33 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL |
Category
Prompt Table:
%EDIT_RES_CAT
|
34 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL |
Subcategory
Prompt Table:
%EDIT_RES_SUB
|
35 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Analysis Type
Prompt Table:
%EDIT_ANALYSIS
|
36 | PROFILE_ID | Character(10) | VARCHAR2(10) NOT NULL |
Asset Profile ID
Prompt Table: %EDIT_PROFILE |
37 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL |
AM Business Unit
Prompt Table: %EDIT_BU_AM |
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
Prompt Table: %EDIT_BU_IN |
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.
Prompt Table: RT_TYPE_TBL |
41 | DISTRIB_PCT | Number(8,4) | DECIMAL(7,4) NOT NULL | Distribution Percentage |
42 | COST_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Cost Type
Prompt Table: COST_TYPE_TBL |
43 | CAP_NUM | Character(15) | VARCHAR2(15) NOT NULL |
Capital Acquisition Plan #
Prompt Table: CAP_VW |
44 | CAP_SEQUENCE | Number(3,0) | SMALLINT NOT NULL |
CAP Sequence
Prompt Table: CAP_DET_VW1 |
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. |