Details.DescriptionDetail: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
:  <DetailName />
:  <DetailName />
:<DetailDescription>
:<DetailDescription>
::    <DetailDescriptionData>
::    <'''DetailDescriptionData'''>
::      <DetailDescriptionText />
::      <DetailDescriptionText />
::      <TargetDate>
::      <TargetDate>
Line 41: Line 41:
:::      <Login />
:::      <Login />
::    </CompletedBy>
::    </CompletedBy>
::  </DetailDescriptionData>
::  </'''DetailDescriptionData'''>
: </ DetailDescription>
: </ DetailDescription>
</Detail>
</Detail>
Line 51: Line 51:
* The DetailDescriptionData element is required. It must contain a DetailDescriptionText element that has a value.
* The DetailDescriptionData element is required. It must contain a DetailDescriptionText element that has a value.


* The TargetDate and CompletedDate elements are optional If present they must contain a valid date.  
* The TargetDate and CompletedDate elements are optional If present, they must contain a valid date.  


* The TargetUser and CompletedBy elements are optional. If present they must contain a Login element whose value matches an existing user.
* The TargetUser and CompletedBy elements are optional. If present, they must contain a Login element whose value matches an existing user.





Revision as of 17:16, 25 October 2013

XML Element

<Detail>

<DetailTypeID />
<DisplayOrder />
<DetailStep />
<DetailSpan />
<DetailUIType />
<DetailName />
<DetailDescription>
<DetailDescriptionData>
<DetailDescriptionText />
<TargetDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</TargetDate>
<TargetUser>
<FirstName />
<MiddleName />
<LastName />
<Login />
</TargetUser>
<CompletedDate>
<Year />
<Month />
<Day />
<Hour />
<Minute />
<Second />
<FormattedDate />
</CompletedDate>
<CompletedBy>
<FirstName />
<MiddleName />
<LastName />
<Login />
</CompletedBy>
</DetailDescriptionData>
</ DetailDescription>

</Detail>



Description

  • The DetailDescriptionData element is required. It must contain a DetailDescriptionText element that has a value.
  • The TargetDate and CompletedDate elements are optional If present, they must contain a valid date.
  • The TargetUser and CompletedBy elements are optional. If present, they must contain a Login element whose value matches an existing user.


Detail Sample

      <Detail> 
        <DetailTypeID>  50  </DetailTypeID> 
        <DisplayOrder>  2  </DisplayOrder> 
        <DetailStep>  3  </DetailStep> 
        <DetailSpan>  Yes  </DetailSpan> 
        <DetailUIType>  DescriptionDetail  </DetailUIType> 
        <DetailName>  Example Description Detail  </DetailName> 
        <DetailDescription> 
          <DetailDescriptionData> 
            <DetailDescriptionText>  Description text  </DetailDescriptionText> 
            <TargetDate> 
              <Year>  2013  <Year> 
              <Month>  8  <Month> 
              <Day>  7  <Day> 
              <Hour>  20  <Hour> 
              <Minute>  1  <Minute> 
              <Second>  0  <Second> 
              <FormattedDate>  08/07/2013 01:01 PM  <FormattedDate> 
            <TargetDate> 
            <TargetUser> 
            <CompletedDate> 
              <Year>  2013  <Year> 
              <Month>  8  <Month> 
              <Day>  7  <Day> 
              <Hour>  20  <Hour> 
              <Minute>  1  <Minute> 
              <Second>  0  <Second> 
              <FormattedDate>  08/07/2013 01:01 PM  <FormattedDate> 
            <CompletedDate> 
            <CompletedBy> 
          </DetailDescriptionData> 
        </DetailDescription> 
      </Detail