CS_BINDUSG_VW

(SQL View)
Index Back

SELECT A.SETID , A.CS_OBJECT_TYPE , A.CS_OBJECT_ID , A.EFFDT , A.CS_BIND_VAR , B.CS_BIND_TYPE , B.CS_FIELD_TYPE , B.CS_FIELD_LENGTH FROM PS_CS_BIND_USAGE A , PS_CS_BINDS B WHERE A.CS_BIND_VAR = B.CS_BIND_VAR AND A.CS_OBJECT_TYPE = '0001' AND B.CS_BIND_TYPE = '3' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_CS_OBJECTS_DTL C WHERE A.SETID = C.SETID AND A.CS_OBJECT_ID = C.CS_OBJECT_ID AND A.CS_OBJECT_TYPE = C.CS_OBJECT_TYPE AND C.EFFDT <= %CurrentDateIn AND C.EFF_STATUS = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CS_OBJECT_TYPE Character(4) VARCHAR2(4) NOT NULL 06/08/09 F-AHAYT-XOES6 Add capability to use binds in headers and/or footers of contract document; new translate value added to support Where Used from Document Templates and Styles
0001=Clause
0002=Section
0003=Ad Hoc Clause
0004=Rule
0005=Bind Variables
0006=Wizard Definition
0007=Document Configurator
0008=Document
0015=Word Template
1000=All
3 CS_OBJECT_ID Character(20) VARCHAR2(20) NOT NULL Object id -- clause, section
4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 CS_BIND_VAR Character(30) VARCHAR2(30) NOT NULL Bind Variable
6 CS_BIND_TYPE Character(1) VARCHAR2(1) NOT NULL Bind Variable Type
1=Transactional
3=Wizard
7 CS_FIELD_TYPE Character(1) VARCHAR2(1) NOT NULL Bind Variable Field Type 5/11/07 F-AHAYT-X0ES6 - Added new field type of Prompt
1=String
3=Date
4=Date/Time
5=Yes/No
6=Integer
7=Decimal
8=Prompt Table
9=Checkbox
8 CS_FIELD_LENGTH Character(3) VARCHAR2(3) NOT NULL Field Length 5/11/07 F-AHAYT-X0ES6 Added new Field Len of LNG
002=002
005=005
012=012
030=030
254=254
LNG=Long Char