Valid Issue: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
John Leavitt (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:XFRACAS.XML.Import.Doc.Class|Common Elements|Common Elements}} | {{Template:XFRACAS.XML.Import.Doc.Class|Common Elements|Common Elements}} | ||
{{APIComment|<!—A combination of IssueType, Code and Description must match an existing issue. Only Description is required.}} | |||
{{Template:XFRACAS.Blue|<Issue>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|IssueID must be an Integer. If present, the value must match an existing IssueID to import/update.}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|If the Issue element does not contain an IssueId, than a new IssueId will be assigned.}} | |||
{{Template:XFRACAS.Blue|<IssueID>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|<IssueID>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|The Code must contain a String. 20 characters maximum. The Code element is optional.}} | |||
{{Template:XFRACAS.Blue|<Code>}}{{Template:XFRACAS.Black|06}}{{Template:XFRACAS.Blue|</Code>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|The Description must contain a string. 100 characters maximum. The Issue element must contain a Description element.}} | |||
{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Verify Corrective Action(s)}}{{Template:XFRACAS.Blue|</Description>}} | |||
{{Template:XFRACAS.Blue|<IssueType>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|The IssueTypeID must be an Integer. If used, IssueType element must contain an IssueTypeID attribute.}} | |||
{{Template:XFRACAS.Blue|<IssueTypeId>}}{{Template:XFRACAS.Black|6}}{{Template:XFRACAS.Blue|</IssueTypeId>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|IssueTypeDescription must be a String. 50 characters maximum. The Description element must have a value.}} | |||
{{Template:XFRACAS.Blue|<IssueTypeDescription>}}{{Template:XFRACAS.Black|PRR Status}}{{Template:XFRACAS.Blue|</IssueTypeDescription>}} | |||
{{Template:XFRACAS.Blue|</IssueType>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|If present, IssueDate must be a valid date.}} | |||
{{Template:XFRACAS.Blue|</IssueDate>}} | |||
{{Template:XFRACAS.Blue|<Year>}}{{Template:XFRACAS.Black|2013}}{{Template:XFRACAS.Blue|</Year>}} | |||
{{Template:XFRACAS.Blue|<Month>}}{{Template:XFRACAS.Black|6}}{{Template:XFRACAS.Blue|</Month>}} | |||
{{Template:XFRACAS.Blue|<Day>}}{{Template:XFRACAS.Black|19}}{{Template:XFRACAS.Blue|</Day>}} | |||
{{Template:XFRACAS.Blue|<Hour>}}{{Template:XFRACAS.Black|20}}{{Template:XFRACAS.Blue|</Hour>}} | |||
{{Template:XFRACAS.Blue|<Minute>}}{{Template:XFRACAS.Black|21}}{{Template:XFRACAS.Blue|</Minute>}} | |||
{{Template:XFRACAS.Blue|<Second>}}{{Template:XFRACAS.Black|0}}{{Template:XFRACAS.Blue|</Second>}} | |||
{{Template:XFRACAS.Blue|<FormattedDate>}}{{Template:XFRACAS.Black|06/19/2013 08:21 PM}}{{Template:XFRACAS.Blue|</FormattedDate>}} | |||
{{Template:XFRACAS.Blue|</IssueDate>}} | |||
{{Template:XFRACAS.Blue|<!—{{APIComment|ParentIssue may have Code and IssueID elements.}} | |||
{{Template:XFRACAS.Blue|<ParentIssue>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|The Code element must contain a String. 20 characters maximum}} | |||
{{Template:XFRACAS.Blue|<Code>{{Template:XFRACAS.Black|07}}{{Template:XFRACAS.Blue|</Code>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|IssueID must be an Integer}} | |||
{{Template:XFRACAS.Blue|<IssueID>}}{{Template:XFRACAS.Black|2}}{{Template:XFRACAS.Blue|<IssueID>}} | |||
{{Template:XFRACAS.Blue|<ParentIssue>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|Retired is optional and must be a valid date if used. Retired is used for retired issues.}} | |||
{{Template:XFRACAS.Blue|<Retired/>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|Quantity is optional and must be an integer if used.}} | |||
{{Template:XFRACAS.Blue|<Quantity/>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|Amount is optional and must be Money if used (Example: 100.00).}} | |||
{{Template:XFRACAS.Blue|<Amount/>}} | |||
{{Template:XFRACAS.Blue|<!—}}{{APIComment|Part is optional and must be a valid part if used.}} | |||
{{Template:XFRACAS.Blue|<Part/>}} | |||
{{Template:XFRACAS.Blue|</Issue>}} | |||
A valid Issue must meet the following requirements: | A valid Issue must meet the following requirements: | ||
* The Issue element must contain an IssueTypeID attribute. | * The Issue element must contain an IssueTypeID attribute. |
Revision as of 18:01, 11 February 2015
<!—A combination of IssueType, Code and Description must match an existing issue. Only Description is required. <Issue> <!— IssueID must be an Integer. If present, the value must match an existing IssueID to import/update. <!— If the Issue element does not contain an IssueId, than a new IssueId will be assigned. <IssueID> 1 <IssueID> <!— The Code must contain a String. 20 characters maximum. The Code element is optional.
06
<!— The Description must contain a string. 100 characters maximum. The Issue element must contain a Description element. <Description> Verify Corrective Action(s) </Description> <IssueType> <!— The IssueTypeID must be an Integer. If used, IssueType element must contain an IssueTypeID attribute. <IssueTypeId> 6 </IssueTypeId> <!— IssueTypeDescription must be a String. 50 characters maximum. The Description element must have a value. <IssueTypeDescription> PRR Status </IssueTypeDescription> </IssueType> <!— If present, IssueDate must be a valid date. </IssueDate> <Year> 2013 </Year> <Month> 6 </Month> <Day> 19 </Day> <Hour> 20 </Hour> <Minute> 21 </Minute> <Second> 0 </Second> <FormattedDate> 06/19/2013 08:21 PM </FormattedDate> </IssueDate> {{Template:XFRACAS.Blue|<!— ParentIssue may have Code and IssueID elements. <ParentIssue> <!— The Code element must contain a String. 20 characters maximum {{Template:XFRACAS.Blue|07
<!— IssueID must be an Integer <IssueID> 2 <IssueID> <ParentIssue> <!— Retired is optional and must be a valid date if used. Retired is used for retired issues. <Retired/> <!— Quantity is optional and must be an integer if used. <Quantity/> <!— Amount is optional and must be Money if used (Example: 100.00). <Amount/> <!— Part is optional and must be a valid part if used. <Part/> </Issue>
A valid Issue must meet the following requirements:
- The Issue element must contain an IssueTypeID attribute.
- The Issue element must contain a Description element.
- The Code element is optional.
- The Description element must have a value.
A combination of IssueType, Code and Description must match an existing issue (only description is required).