complexType "as_completed_workTYPE"
Namespace:
Content:
complex, 35 attributes, 1 element
Defined:
globally in CRIS_Complete_V3-2-1_[31-Dec-2008].xsd, see XML source
Includes:
definitions of 35 attributes and 1 element
Used:
XML Representation Summary
<...
    asset_org_site
 = 
xsd:hexBinary
    asset_id
 = 
xsd:unsignedInt
    task_db_site
 = 
xsd:hexBinary
    task_db_id
 = 
xsd:unsignedInt
    task_type_code
 = 
xsd:unsignedInt
    gmt_completed
 = 
xsd:dateTime
    cp_loc_hr_delta
 = 
xsd:short
    cp_loc_min_delta
 = 
xsd:unsignedShort
    gmt_started
 = 
xsd:dateTime
    st_loc_hr_delta
 = 
xsd:short
    st_loc_min_delta
 = 
xsd:unsignedShort
    by_agent_site
 = 
xsd:hexBinary
    by_agent_id
 = 
xsd:unsignedInt
    from_sy_agent_site
 = 
xsd:hexBinary
    from_sy_agent_id
 = 
xsd:unsignedInt
    priority_lev_db_site
 = 
xsd:hexBinary
    priority_lev_db_id
 = 
xsd:unsignedInt
    priority_lev_type_code
 = 
xsd:unsignedInt
    work_order_db_site
 = 
xsd:hexBinary
    work_order_db_id
 = 
xsd:unsignedInt
    work_order_id
 = 
xsd:unsignedInt
    work_req_db_site
 = 
xsd:hexBinary
    work_req_db_id
 = 
xsd:unsignedInt
    work_req_id
 = 
xsd:unsignedInt
    work_step_db_site
 = 
xsd:hexBinary
    work_step_db_id
 = 
xsd:unsignedInt
    work_step_id
 = 
xsd:unsignedInt
    user_tag_ident
 = 
xsd:string
    name
 = 
xsd:string
    long_description
 = 
xsd:string
    gmt_last_updated
 = 
xsd:dateTime
    last_upd_db_site
 = 
xsd:hexBinary
    last_upd_db_id
 = 
xsd:unsignedInt
    rstat_type_code
 = 
xsd:unsignedShort
    work_ord_step_seq
 = 
xsd:unsignedShort
    >
   
Content: 
lcinfo?
</...>
Content Elements (1):
lcinfo (type lcinfo)
Known Usage Locations
Annotation
Completed Work Tasks For Assets
XML Source (w/o annotations (36))
<xsd:complexType name="as_completed_workTYPE">
<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="task_db_site" type="site_codeSimpleType" use="required"/>
<xsd:attribute name="task_db_id" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="task_type_code" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="gmt_completed" type="dateTimeWithoutTimezone" use="required"/>
<xsd:attribute name="cp_loc_hr_delta" type="xsd:short" use="optional"/>
<xsd:attribute name="cp_loc_min_delta" type="xsd:unsignedShort" use="optional"/>
<xsd:attribute name="gmt_started" type="dateTimeWithoutTimezone" use="optional"/>
<xsd:attribute name="st_loc_hr_delta" type="xsd:short" use="optional"/>
<xsd:attribute name="st_loc_min_delta" type="xsd:unsignedShort" use="optional"/>
<xsd:attribute name="by_agent_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="by_agent_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="from_sy_agent_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="from_sy_agent_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="priority_lev_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="priority_lev_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="priority_lev_type_code" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="work_order_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="work_order_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="work_order_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="work_req_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="work_req_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="work_req_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="work_step_db_site" type="site_codeSimpleType" use="optional"/>
<xsd:attribute name="work_step_db_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="work_step_id" type="xsd:unsignedInt" use="optional"/>
<xsd:attribute name="user_tag_ident" type="varchar254" use="optional"/>
<xsd:attribute name="name" type="varchar254" use="optional"/>
<xsd:attribute name="long_description" type="varchar4000" 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"/>
<!-- ***NOTE: FK to Work_Order_Step Obsolete in V3.2*** -->
<xsd:attribute name="work_ord_step_seq" type="xsd:unsignedShort" use="optional"/>
</xsd:complexType>
Attribute Detail (defined in this component only; 35/35)
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"/>

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

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

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

gmt_completed
Type:
Use:
required
Actual completion time, Included in composite primary key
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_completed" type="dateTimeWithoutTimezone" use="required"/>

cp_loc_hr_delta
Type:
xsd:short, predefined
Use:
optional
Local completion time hours from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="cp_loc_hr_delta" type="xsd:short" use="optional"/>

cp_loc_min_delta
Type:
xsd:unsignedShort, predefined
Use:
optional
Local completion time minutes from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="cp_loc_min_delta" type="xsd:unsignedShort" use="optional"/>

gmt_started
Type:
Use:
optional
Actual start time
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_started" type="dateTimeWithoutTimezone" use="optional"/>

st_loc_hr_delta
Type:
xsd:short, predefined
Use:
optional
Local start time hours from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="st_loc_hr_delta" type="xsd:short" use="optional"/>

st_loc_min_delta
Type:
xsd:unsignedShort, predefined
Use:
optional
Local start time minutes from GMT
XML Source (w/o annotations (1))
<xsd:attribute name="st_loc_min_delta" type="xsd:unsignedShort" use="optional"/>

by_agent_site
Type:
Use:
optional
Foreign key reference to Agent.by_agent_site (agent accomplishing the work)
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="by_agent_site" type="site_codeSimpleType" use="optional"/>

by_agent_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Agent.by_agent_id
XML Source (w/o annotations (1))
<xsd:attribute name="by_agent_id" type="xsd:unsignedInt" use="optional"/>

from_sy_agent_site
Type:
Use:
optional
Foreign key reference to Agent.by_agent_site (system generated from)
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="from_sy_agent_site" type="site_codeSimpleType" use="optional"/>

from_sy_agent_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Agent.by_agent_id
XML Source (w/o annotations (1))
<xsd:attribute name="from_sy_agent_id" type="xsd:unsignedInt" use="optional"/>

priority_lev_db_site
Type:
Use:
optional
Foreign key reference to Priority_Level_Type.priority_lev_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="priority_lev_db_site" type="site_codeSimpleType" use="optional"/>

priority_lev_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Priority_Level_Type.priority_lev_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="priority_lev_db_id" type="xsd:unsignedInt" use="optional"/>

priority_lev_type_code
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Priority_Level_Type.priority_lev_type_code
XML Source (w/o annotations (1))
<xsd:attribute name="priority_lev_type_code" type="xsd:unsignedInt" use="optional"/>

work_order_db_site
Type:
Use:
optional
Foreign key reference to Work_Order.work_order_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="work_order_db_site" type="site_codeSimpleType" use="optional"/>

work_order_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Work_Order.work_order_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="work_order_db_id" type="xsd:unsignedInt" use="optional"/>

work_order_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Work_Order.work_order_id
XML Source (w/o annotations (1))
<xsd:attribute name="work_order_id" type="xsd:unsignedInt" use="optional"/>

work_req_db_site
Type:
Use:
optional
Foreign key reference to Work_Request.work_req_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="work_req_db_site" type="site_codeSimpleType" use="optional"/>

work_req_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Work_Request.work_req_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="work_req_db_id" type="xsd:unsignedInt" use="optional"/>

work_req_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Work_Request.work_req_id
XML Source (w/o annotations (1))
<xsd:attribute name="work_req_id" type="xsd:unsignedInt" use="optional"/>

work_step_db_site
Type:
Use:
optional
Foreign key reference to Work_Step.work_step_db_site
Attribute Value
xsd:hexBinary
Length:
8
XML Source (w/o annotations (1))
<xsd:attribute name="work_step_db_site" type="site_codeSimpleType" use="optional"/>

work_step_db_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Work_Step.work_step_db_id
XML Source (w/o annotations (1))
<xsd:attribute name="work_step_db_id" type="xsd:unsignedInt" use="optional"/>

work_step_id
Type:
xsd:unsignedInt, predefined
Use:
optional
Foreign key reference to Work_Step.work_step_id
XML Source (w/o annotations (1))
<xsd:attribute name="work_step_id" type="xsd:unsignedInt" 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"/>

long_description
Type:
Use:
optional
Long_description field
Attribute Value
xsd:string
MaxLength:
4000
XML Source (w/o annotations (1))
<xsd:attribute name="long_description" type="varchar4000" 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"/>

work_ord_step_seq
Type:
xsd:unsignedShort, predefined
Use:
optional
Obsolete attribute
XML Source (w/o annotations (1))
<xsd:attribute name="work_ord_step_seq" 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