complexType "asset_model_historyTYPE"
Namespace:
Content:
complex, 13 attributes, 1 element
Defined:
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source
Includes:
definitions of 13 attributes and 1 element
Used:
XML Representation Summary
<...
    asset_org_site
 = 
xsd:hexBinary
    asset_id
 = 
xsd:unsignedInt
    model_db_site
 = 
xsd:hexBinary
    model_db_id
 = 
xsd:unsignedInt
    model_id
 = 
xsd:unsignedInt
    gmt_start
 = 
xsd:dateTime
    gmt_end
 = 
xsd:dateTime
    user_tag_ident
 = 
xsd:string
    name
 = 
xsd:string
    gmt_last_updated
 = 
xsd:dateTime
    last_upd_db_site
 = 
xsd:hexBinary
    last_upd_db_id
 = 
xsd:unsignedInt
    rstat_type_code
 = 
xsd:unsignedShort
    >
   
Content: 
lcinfo?
</...>
Content Elements (1):
lcinfo (type lcinfo)
Known Usage Locations
Annotation
Tracks the Models An Asset Was Associated With Throughout Its Life (Current Asset's Model is also maintained in the Asset table)
XML Source (w/o annotations (14))
<xsd:complexType name="asset_model_historyTYPE">
<xsd:sequence>
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>
</xsd:sequence>
<xsd:attribute name="asset_org_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="asset_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="model_db_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="model_db_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="model_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="gmt_start" type="dateTimeWithoutTimezone" use="required"/>
<xsd:attribute name="gmt_end" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>
<xsd:attribute name="name" type="varchar254" use="optional"/>
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
</xsd:complexType>
Attribute Detail (defined in this component only; 13/13)
asset_org_site
Type:
Use:
required
Foreign key reference to Asset.asset_org_site, Included in composite primary key
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="asset_org_site" type="site_codeSimpleType" use="required"/>

asset_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Asset.asset_id, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="asset_id" type="xsd:unsignedInt" use="required"/>

model_db_site
Type:
Use:
required
Foreign key reference to Model.model_db_site, Included in composite primary key
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="model_db_site" type="site_codeSimpleType" use="required"/>

model_db_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Model.model_db_id, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="model_db_id" type="xsd:unsignedInt" use="required"/>

model_id
Type:
xsd:unsignedInt, predefined
Use:
required
Foreign key reference to Model.model_id, Included in composite primary key
XML Source (w/o annotations (1))
<xsd:attribute name="model_id" type="xsd:unsignedInt" use="required"/>

gmt_start
Type:
Use:
required
Starting time when Asset was configured as Model
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_start" type="dateTimeWithoutTimezone" use="required"/>

gmt_end
Type:
Use:
optional
Ending time when Asset was configured as Model
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_end" type="dateTimeWithoutTimezone" use="optional"/>

user_tag_ident
Type:
Use:
optional
Short user-defined tag/identifier
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>

name
Type:
Use:
optional
Full user-defined name/description
Attribute Value
xsd:string
MaxLength:
254
XML Source (w/o annotations (1))
<xsd:attribute name="name" type="varchar254" use="optional"/>

gmt_last_updated
Type:
Use:
optional
UTC/GMT timestamp for the last change to this record
Attribute Value
xsd:dateTime
Pattern:
[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.?[0-9]{0,9}
XML Source (w/o annotations (1))
<xsd:attribute name="gmt_last_updated" type="dateTimeWithoutTimezone" use="optional"/>

last_upd_db_site
Type:
Use:
optional
Foreign key reference to Site_Database.db_site which identifies the database creating/updating/soft deleting this entry
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_site" type="site_codeSimpleType" use="optional"/>

last_upd_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Site_Database.db_id which identifies the database creating/updating/soft deleting this entry
XML Source (w/o annotations (1))
<xsd:attribute name="last_upd_db_id" type="xsd:unsignedInt" use="optional"/>

rstat_type_code
Type:
xsd:unsignedShort, predefined
Use:
optional
Foreign key reference to Row_Status_Type.rstat_type_cod which determines the status of this entry
XML Source (w/o annotations (1))
<xsd:attribute name="rstat_type_code" type="xsd:unsignedShort" use="optional"/>
Content Element Detail (defined in this component only; 1/1)
lcinfo
Type:
lcinfo, complex content
XML Source
<xsd:element minOccurs="0" name="lcinfo" type="lcinfo"/>

XML schema documentation generated with DocFlex/XML 1.7.2b using DocFlex/XML | XSDDoc 2.1.0b template set