Details.FailureModeDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:XFRACAS.XML.Import.Doc.Class|Details|Details}} ===XML Element=== <Detail> : <DetailTypeID /> : <DisplayOrder /> : <DetailStep /> : <DetailSpan /> : <DetailUIType …')
 
No edit summary
Line 22: Line 22:


===Description===
===Description===
* The DetailStatusData element is required. It must contain the following elements.
* The DetailFailureModes element is required and must contain one or more DetailFailureMode elements.


* The DetailStatusDate element value must contain a valid date.
* At least one DetailFailureMode element is required.


* The DetailStatusDescription element must have a value.  
* The FailureId element is required. It must match an existing failure.
 
* The FailureDescription element is optional.
 
* The CauseId element is optional. If present it must match an existing cause.
 
* The CauseDescription element is optional.


* The WrittenBy element must contain a Login element whose value matches an existing user.




Line 35: Line 40:


       {{Template:XFRACAS.Blue|<Detail>}}
       {{Template:XFRACAS.Blue|<Detail>}}
         {{Template:XFRACAS.Blue|<DetailTypeID>}}{{Template:XFRACAS.Black|1023}}{{Template:XFRACAS.Blue|</DetailTypeID>}}
         {{Template:XFRACAS.Blue|<DetailTypeID>}}{{Template:XFRACAS.Black|852}}{{Template:XFRACAS.Blue|</DetailTypeID>}}
         {{Template:XFRACAS.Blue|<DisplayOrder>}}{{Template:XFRACAS.Black|27}}{{Template:XFRACAS.Blue|</DisplayOrder>}}
         {{Template:XFRACAS.Blue|<DisplayOrder>}}{{Template:XFRACAS.Black|9}}{{Template:XFRACAS.Blue|</DisplayOrder>}}
         {{Template:XFRACAS.Blue|<DetailStep>}}{{Template:XFRACAS.Black|5}}{{Template:XFRACAS.Blue|</DetailStep>}}
         {{Template:XFRACAS.Blue|<DetailStep>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</DetailStep>}}
         {{Template:XFRACAS.Blue|<DetailSpan>}}{{Template:XFRACAS.Black|Yes}}{{Template:XFRACAS.Blue|</DetailSpan>}}
         {{Template:XFRACAS.Blue|<DetailSpan>}}{{Template:XFRACAS.Black|No}}{{Template:XFRACAS.Blue|</DetailSpan>}}
         {{Template:XFRACAS.Blue|<DetailUIType>}}{{Template:XFRACAS.Black|StatusDetail}}{{Template:XFRACAS.Blue|</DetailUIType>}}
         {{Template:XFRACAS.Blue|<DetailUIType>}}{{Template:XFRACAS.Black|FailureModeDetail}}{{Template:XFRACAS.Blue|</DetailUIType>}}
         {{Template:XFRACAS.Blue|<DetailName>}}{{Template:XFRACAS.Black|Example Status Detail}}{{Template:XFRACAS.Blue|</DetailName>}}
         {{Template:XFRACAS.Blue|<DetailName>}}{{Template:XFRACAS.Black|Example Failure Mode}}{{Template:XFRACAS.Blue|</DetailName>}}
         {{Template:XFRACAS.Blue|<DetailStatus>}}
         {{Template:XFRACAS.Blue|<DetailFailureModes>}}
           {{Template:XFRACAS.Blue|<DetailStatusData>}}
           {{Template:XFRACAS.Blue|<DetailFailureMode>}}
             {{Template:XFRACAS.Blue|<DetailStatusDate>}}
             {{Template:XFRACAS.Blue|<DetailStatusDate>}}
               {{Template:XFRACAS.Blue|<Year>}}{{Template:XFRACAS.Black|2013}}{{Template:XFRACAS.Blue|<Year>}}
               {{Template:XFRACAS.Blue|<FailureId>}}{{Template:XFRACAS.Black|Failure 1}}{{Template:XFRACAS.Blue|<FailureId>}}
               {{Template:XFRACAS.Blue|<Month>}}{{Template:XFRACAS.Black|9}}{{Template:XFRACAS.Blue|<Month>}}
               {{Template:XFRACAS.Blue|<CauseId>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|<CauseId>}}
               {{Template:XFRACAS.Blue|<Day>}}{{Template:XFRACAS.Black|11}}{{Template:XFRACAS.Blue|<Day>}}
               {{Template:XFRACAS.Blue|<CauseDescription>}}{{Template:XFRACAS.Black|Cause 1}}{{Template:XFRACAS.Blue|<CauseDescription>}}
              {{Template:XFRACAS.Blue|<Hour>}}{{Template:XFRACAS.Black|21}}{{Template:XFRACAS.Blue|<Hour>}}
          {{Template:XFRACAS.Blue|<DetailFailureMode>}}
              {{Template:XFRACAS.Blue|<Minute>}}{{Template:XFRACAS.Black|9}}{{Template:XFRACAS.Blue|<Minute>}}
           {{Template:XFRACAS.Blue|<DetailFailureMode>}}
              {{Template:XFRACAS.Blue|<Second>}}{{Template:XFRACAS.Black|13}}{{Template:XFRACAS.Blue|<Second>}}
           {{Template:XFRACAS.Blue|<FailureDescription>}}{{Template:XFRACAS.Black|Failure 2}}{{Template:XFRACAS.Blue|</FailureDescription>}}
              {{Template:XFRACAS.Blue|<FormattedDate>}}{{Template:XFRACAS.Black|09/11/2013 02:09 PM}}{{Template:XFRACAS.Blue|<FormattedDate>}}
               {{Template:XFRACAS.Blue|<CauseId>}}{{Template:XFRACAS.Black|2}}{{Template:XFRACAS.Blue|<CauseId>}}
           {{Template:XFRACAS.Blue|<DetailStatusDate>}}
               {{Template:XFRACAS.Blue|<CauseDescription>}}{{Template:XFRACAS.Black|Cause 2}}{{Template:XFRACAS.Blue|<CauseDescription>}}
           {{Template:XFRACAS.Blue|<DetailStatusDescription>}}{{Template:XFRACAS.Black|Test status}}{{Template:XFRACAS.Blue|</DetailStatusDescription>}}
           {{Template:XFRACAS.Blue|</DetailFailureMode>}}
          {{Template:XFRACAS.Blue|<WrittenBy>}}
         {{Template:XFRACAS.Blue|</DetailFailureModes>}}
               {{Template:XFRACAS.Blue|<FirstName>}}{{Template:XFRACAS.Black|<Pam>}}{{Template:XFRACAS.Blue|<FirstName>}}
               {{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|<User>}}{{Template:XFRACAS.Blue|<LastName>}}
              {{Template:XFRACAS.Blue|<Login>}}{{Template:XFRACAS.Black|<PUSER>}}{{Template:XFRACAS.Blue|<Login>}}         
          {{Template:XFRACAS.Blue|<WrittenBy>}}
           {{Template:XFRACAS.Blue|</DetailStatusData>}}
         {{Template:XFRACAS.Blue|</DetailStatus>}}
       {{Template:XFRACAS.Blue|</Detail}}
       {{Template:XFRACAS.Blue|</Detail}}

Revision as of 23:10, 4 October 2013

XML Element

<Detail>

<DetailTypeID />
<DisplayOrder />
<DetailStep />
<DetailSpan />
<DetailUIType />
<DetailName />
<DetailFailureModes>
<DetailFailureMode>
<FailureId />
<FailureDescription />
<CauseId />
<CauseDescription />
<DetailFailureMode/>
</ DetailFailureModes>

</Detail>



Description

  • The DetailFailureModes element is required and must contain one or more DetailFailureMode elements.
  • At least one DetailFailureMode element is required.
  • The FailureId element is required. It must match an existing failure.
  • The FailureDescription element is optional.
  • The CauseId element is optional. If present it must match an existing cause.
  • The CauseDescription element is optional.



Detail Sample

      <Detail> 
        <DetailTypeID>  852  </DetailTypeID> 
        <DisplayOrder>  9  </DisplayOrder> 
        <DetailStep>  1  </DetailStep> 
        <DetailSpan>  No  </DetailSpan> 
        <DetailUIType>  FailureModeDetail  </DetailUIType> 
        <DetailName>  Example Failure Mode  </DetailName> 
        <DetailFailureModes> 
          <DetailFailureMode> 
            <DetailStatusDate> 
              <FailureId>  Failure 1  <FailureId> 
              <CauseId>  1  <CauseId> 
              <CauseDescription>  Cause 1  <CauseDescription> 
           <DetailFailureMode> 
           <DetailFailureMode> 
           <FailureDescription>  Failure 2  </FailureDescription> 
              <CauseId>  2  <CauseId> 
              <CauseDescription>  Cause 2  <CauseDescription> 
          </DetailFailureMode> 
        </DetailFailureModes> 
      </Detail