Incident.ReportType: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Incident|Incident}}
{{Template:XFRACAS.XML.Import.Doc.Class|Incident|Incident}}
===XML Element===
===XML Element===
<ReportType>
<[[Incident.ReportType|ReportType]]>
:  <StatusDescription  
:  <StatusDescription  
::    <Issue IssueTypeID=”38” >
::    <Issue IssueTypeID=”38” >
Line 19: Line 19:
:  <Retired />
:  <Retired />
:  <UpdatedBy />
:  <UpdatedBy />
</ReportType>
</[[Incident.ReportType|ReportType]]>





Revision as of 18:06, 23 October 2014

XML Element

<ReportType>

<StatusDescription
<Issue IssueTypeID=”38” >
<Description />
</Issue>
</StatusDescription>
<Date />
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</Date>
<Retired />
<UpdatedBy />

</ReportType>


Description

  • At least one ReportType element is required. The ReportType element must contain an existing valid Issue element with an IssueTypeID equal to 38 (Incident Report Type). If the InsertIncidentIssues setting is enabled and an existing issue is not found, a new issue will be inserted.
  • The Date element is required and must contain a valid date.
  • The Retired element is optional. If present, it must contain a “Yes” or “No” value. If no value is present, the default value will be “No.”
  • The UpdatedBy element is optional. If present, it must contain a Login element that matches an existing valid User. If not present, then the user doing the import will be used.

Update: Updated report types that are valid and differ from an original report type will be inserted and the corresponding original report type will be retired. Original report types that are not present in the updated report types will be retired. There can be only one current report type.