CNTRCT_CHBU_VW

(SQL View)
Index Back

Contract Control BU Change

PO002 Manufacturer Contract, Change tracking view for control type BU.

SELECT SETID ,CNTRCT_ID ,VERSION_NBR ,CONTROL_TYPE ,SEQ_NO ,CNTRCT_ID_DST ,CHNG_ORD_SEQ ,FIELDNAME ,CHNG_TYPE ,REASON_SEQ ,CHNG_CHAR_VALUE ,CHNG_DATE_VALUE ,CHNG_DTTM_VALUE ,CHNG_NBR_VALUE ,CHNG_TIME_VALUE ,OPRID_MODIFIED_BY ,LAST_DTTM_UPDATE FROM PS_CNTRCT_CHCTRL WHERE CONTROL_TYPE = 'BU'

# 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 CONTROL_TYPE Character(4) VARCHAR2(4) NOT NULL PO002 Manufacturer Contract
BU=Business Unit
CDOM=Contract Domain
SHIP=Ship To
X=Not Used

Default Value: BU

5 SEQ_NO Number(15,0) DECIMAL(15) NOT NULL Sequence Number
6 CNTRCT_ID_DST Character(25) VARCHAR2(25) NOT NULL Contract ID To
7 CHNG_ORD_SEQ Number(3,0) SMALLINT NOT NULL Change Order Sequence Number
8 FIELDNAME Character(18) VARCHAR2(18) NOT NULL Field Name (see PSDBFIELD).
9 CHNG_TYPE Character(1) VARCHAR2(1) NOT NULL Change Type
C=Change
D=Deleted
H=Hold
I=Inserted
N=New
O=Original
R=Re-open
X=Cancelled
10 REASON_SEQ Number(5,0) INTEGER NOT NULL Reason Sequence
11 CHNG_CHAR_VALUE Character(254) VARCHAR2(254) NOT NULL New Field Value
12 CHNG_DATE_VALUE Date(10) DATE New Date Value
13 CHNG_DTTM_VALUE DateTime(26) TIMESTAMP Change Date/Time Value
14 CHNG_NBR_VALUE Signed Number(30,5) DECIMAL(28,5) NOT NULL New Numeric Value
15 CHNG_TIME_VALUE Time(15) TIMESTAMP Change Time Value
16 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.
17 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.