Problem: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 27: Line 27:


===Problem Sample===
===Problem Sample===
:{{Template:XFRACAS.Black|<?xml version}}={{Template:XFRACAS.Black|"1.0" encoding}}={{Template:XFRACAS.Black|"utf-8"?>}}
:{{Template:XFRACAS.Black|<?xml version}}={{Template:XFRACAS.Black|"1.0" encoding}}={{Template:XFRACAS.Black|"utf-8"?>}}
:{{Template:XFRACAS.Black|<!DOCTYPE Problems SYSTEM "Problem.dtd"[]>}}
:{{Template:XFRACAS.Black|<!DOCTYPE Problems SYSTEM "Problem.dtd"[]>}}
Line 42: Line 41:
:{{Template:XFRACAS.Blue|/ExportData>}}
:{{Template:XFRACAS.Blue|/ExportData>}}
:{{Template:XFRACAS.Blue|<Problem>}}
:{{Template:XFRACAS.Blue|<Problem>}}
::<font color=blue><!—</font>{{APIComment|If the ProblemID element value is not empty and does not match an existing problem ID, the specified ProblemID element value will be used.}}
::<font color=blue><!—</font>{{APIComment|ProblemID must be a String. 20 characters maximum.}}
::{{Template:XFRACAS.Blue|<[[Problem.ProblemID |'''ProblemID''']]>}}{{Template:XFRACAS.Black|PRR-1}}{{Template:XFRACAS.Blue|</[[Problem.ProblemID |'''ProblemID''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.ProblemID |'''ProblemID''']]>}}{{Template:XFRACAS.Black|PRR-1}}{{Template:XFRACAS.Blue|</[[Problem.ProblemID |'''ProblemID''']]>}}
::<font color=blue><!—</font>{{APIComment|Title must be a String. 75 characters maximum.}}
::{{Template:XFRACAS.Blue|<Title>}}{{Template:XFRACAS.Black|Test Problem}}{{Template:XFRACAS.Blue|</Title>}}
::{{Template:XFRACAS.Blue|<Title>}}{{Template:XFRACAS.Black|Test Problem}}{{Template:XFRACAS.Blue|</Title>}}
::<font color=blue><!—</font>{{APIComment|The Entity element is required and must contain a valid entity. The Entity ID or EntityName must match an existing [[Valid Entity]].}}
::{{Template:XFRACAS.Blue|<[[Problem.Entity|'''Entity''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.Entity|'''Entity''']]>}}
:::<font color=Blue><EntityID></font><font color=black>1</font><font color=Blue></EntityID></font>
:::<font color=Blue><EntityID></font><font color=black>1</font><font color=Blue></EntityID></font>
:::<font color=Blue><EntityName></font><font color=black>XFRACAS Software</font><font color=Blue></EntityName></font>
:::<font color=Blue><EntityName></font><font color=black>XFRACAS Software</font><font color=Blue></EntityName></font>
::{{Template:XFRACAS.Blue|</[[Problem.Entity|'''Entity''']]>}}
::{{Template:XFRACAS.Blue|</[[Problem.Entity|'''Entity''']]>}}
::<font color=blue><!—</font>{{APIComment|The Owner element is required, and the Login element value must match an existing [[Valid User]].}}
::{{Template:XFRACAS.Blue|<[[Problem.Owner|'''Owner''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.Owner|'''Owner''']]>}}
:::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
Line 54: Line 58:
:::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
:::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
::{{Template:XFRACAS.Blue|</[[Problem.Owner|'''Owner''']]>}}
::{{Template:XFRACAS.Blue|</[[Problem.Owner|'''Owner''']]>}}
::<font color=blue><!—</font>{{APIComment|The Creator element is optional and, if present, the Login element value must match an existing [[Valid User]].}}
::{{Template:XFRACAS.Blue|<[[Problem.Creator|Creator]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.Creator|Creator]]>}}
:::<font color=Blue><FirstName></font><font color=black>Sam</font><font color=Blue></FirstName></font>
:::<font color=Blue><FirstName></font><font color=black>Sam</font><font color=Blue></FirstName></font>
Line 60: Line 65:
:::'''<font color=Blue><Login></font><font color=black>pGooduser</font><font color=Blue></Login></font>'''
:::'''<font color=Blue><Login></font><font color=black>pGooduser</font><font color=Blue></Login></font>'''
::{{Template:XFRACAS.Blue|</[[Problem.Creator|Creator]]>}}
::{{Template:XFRACAS.Blue|</[[Problem.Creator|Creator]]>}}
::<font color=blue><!—</font>{{APIComment|The OpenDate element is required. If the date entered is not valid or empty, then the current date and time will be inserted. Must be a [[Valid Date]].}}
::{{Template:XFRACAS.Blue|<[[Problem.OpenDate|'''OpenDate''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.OpenDate|'''OpenDate''']]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
Line 69: Line 75:
:::<font color=Blue><FormattedDate></font>06/19/2013 08:21 PM<font color=Blue></FormattedDate></font>
:::<font color=Blue><FormattedDate></font>06/19/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{Template:XFRACAS.Blue|</[[Problem.OpenDate|'''OpenDate''']]>}}
::{{Template:XFRACAS.Blue|</[[Problem.OpenDate|'''OpenDate''']]>}}
::<font color=blue><!—</font>{{APIComment|The RequestedClosureDate element is optional and, if present, must contain a [[Valid Date]].}}
::{{Template:XFRACAS.Blue|<[[Problem.RequestedClosureDate|RequestedClosureDate]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.RequestedClosureDate|RequestedClosureDate]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
Line 78: Line 85:
:::<font color=Blue><FormattedDate></font>06/22/2013 08:21 PM<font color=Blue></FormattedDate></font>
:::<font color=Blue><FormattedDate></font>06/22/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{Template:XFRACAS.Blue|</[[Problem.RequestedClosureDate|RequestedClosureDate]]>}}
::{{Template:XFRACAS.Blue|</[[Problem.RequestedClosureDate|RequestedClosureDate]]>}}
::<font color=blue><!—</font>{{APIComment|The ExpectedClosureDate element is optional and, if present, must contain a [[Valid Date]].}}
::{{Template:XFRACAS.Blue|<[[Problem.ExpectedClosureDate|ExpectedClosureDate]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.ExpectedClosureDate|ExpectedClosureDate]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
Line 87: Line 95:
:::<font color=Blue><FormattedDate></font>06/21/2013 08:21 PM<font color=Blue></FormattedDate></font>
:::<font color=Blue><FormattedDate></font>06/21/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{Template:XFRACAS.Blue|</[[Problem.ExpectedClosureDate|ExpectedClosureDate]]>}}
::{{Template:XFRACAS.Blue|</[[Problem.ExpectedClosureDate|ExpectedClosureDate]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.ClosedDate|ClosedDate]] />}}
::<font color=blue><!—</font>{{APIComment|The ClosedDate element is optional and, if present, must contain a [[Valid Date]].}}
::{{Template:XFRACAS.Blue|<[[Problem.ClosedDate|ClosedDate]]/>}}
::<font color=blue><!—</font>{{APIComment|The FirstOccurenceDate is optional and, if present, must contain a valid date. It is only used in exports.}}
::{{Template:XFRACAS.Blue|<[[Problem.FirstOccurenceDate|FirstOccurenceDate]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.FirstOccurenceDate|FirstOccurenceDate]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
Line 97: Line 107:
:::<font color=Blue><FormattedDate></font>06/18/2013 08:21 PM<font color=Blue></FormattedDate></font>
:::<font color=Blue><FormattedDate></font>06/18/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{Template:XFRACAS.Blue|</[[Problem.FirstOccurenceDate|FirstOccurenceDate]]>}}
::{{Template:XFRACAS.Blue|</[[Problem.FirstOccurenceDate|FirstOccurenceDate]]>}}
::<font color=blue><!—</font>{{APIComment|The LastOccurenceDate element is optional and, if present, must contain a [[Valid Date]]. It is only used in exports from XFRACAS.}}
::{{Template:XFRACAS.Blue|<[[Problem.LastOccurenceDate|LastOccurenceDate]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.LastOccurenceDate|LastOccurenceDate]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
Line 106: Line 117:
:::<font color=Blue><FormattedDate></font>06/19/2013 08:10 PM<font color=Blue></FormattedDate></font>
:::<font color=Blue><FormattedDate></font>06/19/2013 08:10 PM<font color=Blue></FormattedDate></font>
::{{Template:XFRACAS.Blue|</[[Problem.LastOccurenceDate|LastOccurenceDate]]>}}
::{{Template:XFRACAS.Blue|</[[Problem.LastOccurenceDate|LastOccurenceDate]]>}}
::<font color=blue><!—</font>{{APIComment|The Priority element is required and must contain an existing [[Valid Issue]] with an IssueTypeID equal to 9 (PRR Priority).}}
::{{Template:XFRACAS.Blue|<[[Problem.Priority|'''Priority''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.Priority|'''Priority''']]>}}
:::{{Template:XFRACAS.Blue|<}}{{Template:XFRACAS.Black|Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"9"}}{{Template:XFRACAS.Blue|>}}
:::{{Template:XFRACAS.Blue|<}}{{Template:XFRACAS.Black|Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"9"}}{{Template:XFRACAS.Blue|>}}
Line 112: Line 124:
:::{{Template:XFRACAS.Blue|</Issue>}}
:::{{Template:XFRACAS.Blue|</Issue>}}
::{{Template:XFRACAS.Blue|</[[Problem.Priority|'''Priority''']]>}}
::{{Template:XFRACAS.Blue|</[[Problem.Priority|'''Priority''']]>}}
::<font color=blue><!—</font>{{APIComment|The FRBStatus element is required and must contain an existing [[Valid Issue]] with an IssueTypeID equal to 46 (PRR Status Review).}}
::{{Template:XFRACAS.Blue|<[[Problem.FRBStatus|'''FRBStatus''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.FRBStatus|'''FRBStatus''']]>}}
:::{{Template:XFRACAS.Blue|<Issue }}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"46"}}{{Template:XFRACAS.Blue|>}}
:::{{Template:XFRACAS.Blue|<Issue }}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"46"}}{{Template:XFRACAS.Blue|>}}
Line 118: Line 131:
:::{{Template:XFRACAS.Blue|</Issue>}}
:::{{Template:XFRACAS.Blue|</Issue>}}
::{{Template:XFRACAS.Blue|</[[Problem.FRBStatus|'''FRBStatus''']]>}}
::{{Template:XFRACAS.Blue|</[[Problem.FRBStatus|'''FRBStatus''']]>}}
::<font color=blue><!—</font>{{APIComment|The ProcessStatus element is optional and, if present, must contain an existing [[Valid Issue]] with an IssueTypeID equal to 6 (PRR Status).}}
::<font color=blue><!—</font>{{APIComment|This element will not be populated if the Problem is closed.}}
::{{Template:XFRACAS.Blue|<[[Problem.ProcessStatus|'''ProcessStatus''']]>}}
::{{Template:XFRACAS.Blue|<[[Problem.ProcessStatus|'''ProcessStatus''']]>}}
:::<font color=blue><!—</font>{{APIComment|IssueTypeID, Code and Description value options can be found in the Problem DTD Chart.}}
:::{{Template:XFRACAS.Blue|<Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"6"}}{{Template:XFRACAS.Blue|>}}
:::{{Template:XFRACAS.Blue|<Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"6"}}{{Template:XFRACAS.Blue|>}}
::::<font color=Blue><<nowiki>Code</nowiki>></font>02<font color=Blue></<nowiki>Code</nowiki>></font>
::::<font color=Blue><<nowiki>Code</nowiki>></font>02<font color=Blue></<nowiki>Code</nowiki>></font>
Line 124: Line 140:
:::{{Template:XFRACAS.Blue|</Issue>}}
:::{{Template:XFRACAS.Blue|</Issue>}}
::{{Template:XFRACAS.Blue|</[[Problem.ProcessStatus|'''ProcessStatus''']]>}}
::{{Template:XFRACAS.Blue|</[[Problem.ProcessStatus|'''ProcessStatus''']]>}}
::<font color=blue><!—</font>{{APIComment|The Part element is optional and, if present, must contain an existing [[Valid Part.]]}}
::{{Template:XFRACAS.Blue|<[[Problem.Part|Part]]>}}
::{{Template:XFRACAS.Blue|<[[Problem.Part|Part]]>}}
:::<font color=Blue><PartID></font><font color=black>2</font><font color=Blue></PartID></font>
:::<font color=Blue><PartID></font><font color=black>2</font><font color=Blue></PartID></font>
Line 174: Line 191:
::{{Template:XFRACAS.Blue|<TeamMembers>}}
::{{Template:XFRACAS.Blue|<TeamMembers>}}
:::{{Template:XFRACAS.Blue|<TeamMember>}}
:::{{Template:XFRACAS.Blue|<TeamMember>}}
<font color=blue><!—</font>{{APIComment|COMMENT}}
::::{{Template:XFRACAS.Blue|<MemberUser>}}
::::{{Template:XFRACAS.Blue|<MemberUser>}}
:::::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
Line 180: Line 198:
:::::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
:::::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
::::{{Template:XFRACAS.Blue|</MemberUser>}}
::::{{Template:XFRACAS.Blue|</MemberUser>}}
<font color=blue><!—</font>{{APIComment|COMMENT}}
::::{{Template:XFRACAS.Blue|<MemberRole>}}
::::{{Template:XFRACAS.Blue|<MemberRole>}}
:::::{{Template:XFRACAS.Blue|<Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"50"}}{{Template:XFRACAS.Blue|>}}
:::::{{Template:XFRACAS.Blue|<Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"50"}}{{Template:XFRACAS.Blue|>}}

Revision as of 21:17, 18 February 2015

XML Elements

Problem Sample

<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE Problems SYSTEM "Problem.dtd"[]>
<Problems xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd =: "http://www.w3.org/2001/XMLSche
ma">
ExportData>
<ReportGenerated> 09/16/2013 10:41 AM /ReportGenerated>
<GeneratedBy>
<FirstName>Pam</FirstName>
<MiddleName>Isa</MiddleName>
<LastName> User </LastName>
<LastName>User</LastName>
</GeneratedBy>
<GMTOffset>-7</GMTOffset>
/ExportData>
<Problem>
<!— If the ProblemID element value is not empty and does not match an existing problem ID, the specified ProblemID element value will be used.
<!— ProblemID must be a String. 20 characters maximum.
<ProblemID> PRR-1 </ProblemID>
<!— Title must be a String. 75 characters maximum.
<Title> Test Problem </Title>
<!— The Entity element is required and must contain a valid entity. The Entity ID or EntityName must match an existing Valid Entity.
<Entity>
<EntityID>1</EntityID>
<EntityName>XFRACAS Software</EntityName>
</Entity>
<!— The Owner element is required, and the Login element value must match an existing Valid User.
<Owner>
<FirstName>Pam</FirstName>
<MiddleName>Isa</MiddleName>
<LastName>User</LastName>
<Login>pUser</Login>
</Owner>
<!— The Creator element is optional and, if present, the Login element value must match an existing Valid User.
<Creator>
<FirstName>Sam</FirstName>
<MiddleName>Isa</MiddleName>
<LastName>Gooduser</LastName>
<Login>pGooduser</Login>
</Creator>
<!— The OpenDate element is required. If the date entered is not valid or empty, then the current date and time will be inserted. Must be a Valid Date.
<OpenDate>
<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>
</OpenDate>
<!— The RequestedClosureDate element is optional and, if present, must contain a Valid Date.
<RequestedClosureDate>
<Year>2013</Year>
<Month>6</Month>
<Day>22</Day>
<Hour>20</Hour>
<Minute>21</Minute>
<Second>0</Second>
<FormattedDate>06/22/2013 08:21 PM</FormattedDate>
</RequestedClosureDate>
<!— The ExpectedClosureDate element is optional and, if present, must contain a Valid Date.
<ExpectedClosureDate>
<Year>2013</Year>
<Month>6</Month>
<Day>21</Day>
<Hour>20</Hour>
<Minute>21</Minute>
<Second>0</Second>
<FormattedDate>06/21/2013 08:21 PM</FormattedDate>
</ExpectedClosureDate>
<!— The ClosedDate element is optional and, if present, must contain a Valid Date.
<ClosedDate/>
<!— The FirstOccurenceDate is optional and, if present, must contain a valid date. It is only used in exports.
<FirstOccurenceDate>
<Year>2013</Year>
<Month>6</Month>
<Day>18</Day>
<Hour>20</Hour>
<Minute>21</Minute>
<Second>0</Second>
<FormattedDate>06/18/2013 08:21 PM</FormattedDate>
</FirstOccurenceDate>
<!— The LastOccurenceDate element is optional and, if present, must contain a Valid Date. It is only used in exports from XFRACAS.
<LastOccurenceDate>
<Year>2013</Year>
<Month>6</Month>
<Day>19</Day>
<Hour>20</Hour>
<Minute>10</Minute>
<Second>0</Second>
<FormattedDate>06/19/2013 08:10 PM</FormattedDate>
</LastOccurenceDate>
<!— The Priority element is required and must contain an existing Valid Issue with an IssueTypeID equal to 9 (PRR Priority).
<Priority>
< Issue IssueTypeID = "9" >
<Code>1</Code>
<Description> Not Assigned </Description>
</Issue>
</Priority>
<!— The FRBStatus element is required and must contain an existing Valid Issue with an IssueTypeID equal to 46 (PRR Status Review).
<FRBStatus>
<Issue IssueTypeID = "46" >
<Code>02B</Code>
<Description> Describe Problem Review - Complete </Description>
</Issue>
</FRBStatus>
<!— The ProcessStatus element is optional and, if present, must contain an existing Valid Issue with an IssueTypeID equal to 6 (PRR Status).
<!— This element will not be populated if the Problem is closed.
<ProcessStatus>
<!— IssueTypeID, Code and Description value options can be found in the Problem DTD Chart.
<Issue IssueTypeID = "6" >
<Code>02</Code>
<Description> Describe the Problem </Description>
</Issue>
</ProcessStatus>
<!— The Part element is optional and, if present, must contain an existing Valid Part.
<Part>
<PartID>2</PartID>
<PartName> Example Part </PartName>
<PartNumber> EP2 </PartNumber>
<PartVersion> A </PartVersion>
<RetiredDate />
</Part>
<ShowStep3>No</ShowStep3>
<ShowStep4>No</ShowStep4>
<ShowStep6>No</ShowStep6>
<ShowStep8>No</ShowStep8>
<Incidents>
<Incident/>
<Incident/>
<Incident/>
</Incidents>
<Reviews>
<Review>
<Reviewer>
<MiddleName>Isa</MiddleName>
<LastName> User </LastName>
<Login>pUser</Login>
</Reviewer>
<SignOffDate>
<Year>2013</Year>
<Month>6</Month>
<Day>22</Day>
<Hour>20</Hour>
<Minute>21</Minute>
<Second>0</Second>
<FormattedDate>06/19/2013 08:21 PM</FormattedDate>
</SignOffDate>
<ClosureRejectComment/>
<ReviewType>
<ReviewTypeID>7</ReviewTypeID>
<ReviewTypeName> D7 FRB Approval </ReviewTypeName>
</ReviewType>
<SentEmailNoticeDate/>
<RetiredDate/>
<DeleteComment/>
<SignOffOrder>3</SignOffOrder>
<UserCategory>
<UserCategoryID>10</UserCategoryID>
<UserCategoryName> D7 Approver</UserCategoryName>
</UserCategory>
</Review>
</Reviews>
<Criticalities/>
<TeamMembers>
<TeamMember>

<!— COMMENT

<MemberUser>
<FirstName>Pam</FirstName>
<MiddleName>Isa</MiddleName>
<LastName> User </LastName>
<Login>pUser</Login>
</MemberUser>

<!— COMMENT

<MemberRole>
<Issue IssueTypeID = "50" >
<Description> Legal </Description>
</Issue>
</MemberRole>
</TeamMember>
</TeamMembers>
</Problem>