Problem: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Redirected page to XFRACAS XML Import Documentation)
 
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Import Types|Import Types}}
#REDIRECT[[XFRACAS_XML_Import_Documentation]]
===XML Elements===
 
*[[Problem.ProblemID |ProblemID ]]
*[[Problem.Entity|Entity]]
*[[Problem.Owner|Owner]]
*[[Problem.Creator|Creator]]
*[[Problem.OpenDate|OpenDate]]
*[[Problem.RequestedClosureDate|RequestedClosureDate]]
*[[Problem.ExpectedClosureDate|ExpectedClosureDate]]
*[[Problem.ClosedDate|ClosedDate]]
*[[Problem.FirstOccurenceDate|FirstOccurenceDate]]
*[[Problem.LastOccurenceDate|LastOccurenceDate]]
*[[Problem.Priority|Priority]]
*[[Problem.FRBStatus|FRBStatus]]
*[[Problem.ProcessStatus|ProcessStatus]]
*[[Problem.Part|Part]]
*[[Problem.Incidents|Incidents]]
*[[Problem.Incident|Incident]]
*[[Problem.ProjectIDs|ProjectIDs]]
*[[Problem.Reviews|Reviews]]
*[[Problem.Review|Review]]
*[[Criticality ]]
*[[Team Members ]]
* [[Actions]]
* [[Insert Details]]
 
===Problem Sample===
:{{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|<Problems xmlns:xsi}}={{Template:XFRACAS.Black|"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd}}=:{{Template:XFRACAS.Black|"http://www.w3.org/2001/XMLSche<br>ma">}}
:{{Template:XFRACAS.Blue|ExportData>}}
::{{Template:XFRACAS.Blue|<ReportGenerated>}}{{Template:XFRACAS.Black|09/16/2013 10:41 AM}}{{Template:XFRACAS.Blue|/ReportGenerated>}}
::{{Template:XFRACAS.Blue|<GeneratedBy>}}
:::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::{{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}}
:::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
::{{Template:XFRACAS.Blue|</GeneratedBy>}}
::<font color=Blue><GMTOffset></font><font color=black>-7</font><font color=Blue></GMTOffset></font>
:{{Template:XFRACAS.Blue|/ExportData>}}
:{{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''']]>}}
::<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>}}
::<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''']]>}}
:::<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>
::{{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''']]>}}
:::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font>
:::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
::{{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]]>}}
:::<font color=Blue><FirstName></font><font color=black>Sam</font><font color=Blue></FirstName></font>
:::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::<font color=Blue><LastName></font><font color=black>Gooduser</font><font color=Blue></LastName></font>
:::'''<font color=Blue><Login></font><font color=black>pGooduser</font><font color=Blue></Login></font>'''
::{{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''']]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Month></font>6<font color=Blue></Month></font>'''
:::'''<font color=Blue><Day></font>19<font color=Blue></Day></font>'''
:::<font color=Blue><Hour></font>20<font color=Blue></Hour></font>
:::<font color=Blue><Minute></font>21<font color=Blue></Minute></font>
:::<font color=Blue><Second></font>0<font color=Blue></Second></font>
:::<font color=Blue><FormattedDate></font>06/19/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{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]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Month></font>6<font color=Blue></Month></font>'''
:::'''<font color=Blue><Day></font>22<font color=Blue></Day></font>'''
:::<font color=Blue><Hour></font>20<font color=Blue></Hour></font>
:::<font color=Blue><Minute></font>21<font color=Blue></Minute></font>
:::<font color=Blue><Second></font>0<font color=Blue></Second></font>
:::<font color=Blue><FormattedDate></font>06/22/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{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]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Month></font>6<font color=Blue></Month></font>'''
:::'''<font color=Blue><Day></font>21<font color=Blue></Day></font>'''
:::<font color=Blue><Hour></font>20<font color=Blue></Hour></font>
:::<font color=Blue><Minute></font>21<font color=Blue></Minute></font>
:::<font color=Blue><Second></font>0<font color=Blue></Second></font>
:::<font color=Blue><FormattedDate></font>06/21/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{Template:XFRACAS.Blue|</[[Problem.ExpectedClosureDate|ExpectedClosureDate]]>}}
::<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]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Month></font>6<font color=Blue></Month></font>'''
:::'''<font color=Blue><Day></font>18<font color=Blue></Day></font>'''
:::<font color=Blue><Hour></font>20<font color=Blue></Hour></font>
:::<font color=Blue><Minute></font>21<font color=Blue></Minute></font>
:::<font color=Blue><Second></font>0<font color=Blue></Second></font>
:::<font color=Blue><FormattedDate></font>06/18/2013 08:21 PM<font color=Blue></FormattedDate></font>
::{{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]]>}}
:::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::'''<font color=Blue><Month></font>6<font color=Blue></Month></font>'''
:::'''<font color=Blue><Day></font>19<font color=Blue></Day></font>'''
:::<font color=Blue><Hour></font>20<font color=Blue></Hour></font>
:::<font color=Blue><Minute></font>10<font color=Blue></Minute></font>
:::<font color=Blue><Second></font>0<font color=Blue></Second></font>
:::<font color=Blue><FormattedDate></font>06/19/2013 08:10 PM<font color=Blue></FormattedDate></font>
::{{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|<}}{{Template:XFRACAS.Black|Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"9"}}{{Template:XFRACAS.Blue|>}}
::::<font color=Blue><<nowiki>Code</nowiki>></font>1<font color=Blue></<nowiki>Code</nowiki>></font>
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Not Assigned}}{{Template:XFRACAS.Blue|</Description>}}
:::{{Template:XFRACAS.Blue|</Issue>}}
::{{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|<Issue }}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"46"}}{{Template:XFRACAS.Blue|>}}
::::<font color=Blue><<nowiki>Code</nowiki>></font>02B<font color=Blue></<nowiki>Code</nowiki>></font>
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Describe Problem Review - Complete}}{{Template:XFRACAS.Blue|</Description>}}
:::{{Template:XFRACAS.Blue|</Issue>}}
::{{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''']]>}}
:::<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|>}}
::::<font color=Blue><<nowiki>Code</nowiki>></font>02<font color=Blue></<nowiki>Code</nowiki>></font>
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Describe the Problem}}{{Template:XFRACAS.Blue|</Description>}}
:::{{Template:XFRACAS.Blue|</Issue>}}
::{{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]]>}}
:::<font color=Blue><PartID></font><font color=black>2</font><font color=Blue></PartID></font>
:::{{Template:XFRACAS.Blue|<PartName>}}{{Template:XFRACAS.Black|Example Part}}{{Template:XFRACAS.Blue|</PartName>}}
:::{{Template:XFRACAS.Blue|<PartNumber>}}{{Template:XFRACAS.Black|EP2}}{{Template:XFRACAS.Blue|</PartNumber>}}
:::{{Template:XFRACAS.Blue|<PartVersion>}}{{Template:XFRACAS.Black|A}}{{Template:XFRACAS.Blue|</PartVersion>}}
:::{{Template:XFRACAS.Blue|<RetiredDate />}}
::{{Template:XFRACAS.Blue|</[[Problem.Part|Part]]>}}
::<font color=Blue><ShowStep3></font><font color=black>No</font><font color=Blue></ShowStep3></font>
::<font color=Blue><ShowStep4></font><font color=black>No</font><font color=Blue></ShowStep4></font>
::<font color=Blue><ShowStep6></font><font color=black>No</font><font color=Blue></ShowStep6></font>
::<font color=Blue><ShowStep8></font><font color=black>No</font><font color=Blue></ShowStep8></font>
::{{Template:XFRACAS.Blue|<Incidents>}}
:::{{Template:XFRACAS.Blue|<[[Incident]]/>}}
:::{{Template:XFRACAS.Blue|<[[Incident]]/>}}
:::{{Template:XFRACAS.Blue|<[[Incident]]/>}}
::{{Template:XFRACAS.Blue|</Incidents>}}
::{{Template:XFRACAS.Blue|<[[Problem.Reviews|Reviews]]>}}
:::{{Template:XFRACAS.Blue|<[[Problem.Review|Review]]>}}
::::{{Template:XFRACAS.Blue|<Reviewer>}}
:::::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::::{{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}}
:::::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
::::{{Template:XFRACAS.Blue|</Reviewer>}}
::::{{Template:XFRACAS.Blue|<SignOffDate>}}
:::::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
:::::'''<font color=Blue><Month></font>6<font color=Blue></Month></font>'''
:::::'''<font color=Blue><Day></font>22<font color=Blue></Day></font>'''
:::::<font color=Blue><Hour></font>20<font color=Blue></Hour></font>
:::::<font color=Blue><Minute></font>21<font color=Blue></Minute></font>
:::::<font color=Blue><Second></font>0<font color=Blue></Second></font>
:::::<font color=Blue><FormattedDate></font>06/19/2013 08:21 PM<font color=Blue></FormattedDate></font>
::::{{Template:XFRACAS.Blue|</SignOffDate>}}
::::{{Template:XFRACAS.Blue|<ClosureRejectComment/>}}
::::{{Template:XFRACAS.Blue|<ReviewType>}}
:::::<font color=Blue><ReviewTypeID></font>7<font color=Blue></ReviewTypeID></font>
:::::{{Template:XFRACAS.Blue|<ReviewTypeName>}}{{Template:XFRACAS.Black|D7 FRB Approval}}{{Template:XFRACAS.Blue|</ReviewTypeName>}}
::::{{Template:XFRACAS.Blue|</ReviewType>}}
::::{{Template:XFRACAS.Blue|<SentEmailNoticeDate/>}}
::::{{Template:XFRACAS.Blue|<RetiredDate/>}}
::::{{Template:XFRACAS.Blue|<DeleteComment/>}}
::::<font color=Blue><SignOffOrder></font><font color=black>3</font><font color=Blue></SignOffOrder></font>
::::{{Template:XFRACAS.Blue|<UserCategory>}}
:::::<font color=Blue><UserCategoryID></font>10<font color=Blue></UserCategoryID></font>
:::::{{Template:XFRACAS.Blue|<UserCategoryName>}}{{Template:XFRACAS.Black|D7}} {{Template:XFRACAS.Blue|Approver</UserCategoryName>}}
::::{{Template:XFRACAS.Blue|</UserCategory>}}
:::{{Template:XFRACAS.Blue|</[[Problem.Review|Review]]>}}
::{{Template:XFRACAS.Blue|</[[Problem.Reviews|Reviews]]>}}
::{{Template:XFRACAS.Blue|<[[Criticality|Criticalities]]/>}}
::{{Template:XFRACAS.Blue|<TeamMembers>}}
:::{{Template:XFRACAS.Blue|<TeamMember>}}
<font color=blue><!—</font>{{APIComment|COMMENT}}
::::{{Template:XFRACAS.Blue|<MemberUser>}}
:::::<font color=Blue><FirstName></font><font color=black>Pam</font><font color=Blue></FirstName></font>
:::::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font>
:::::{{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}}
:::::'''<font color=Blue><Login></font><font color=black>pUser</font><font color=Blue></Login></font>'''
::::{{Template:XFRACAS.Blue|</MemberUser>}}
<font color=blue><!—</font>{{APIComment|COMMENT}}
::::{{Template:XFRACAS.Blue|<MemberRole>}}
:::::{{Template:XFRACAS.Blue|<Issue}}{{Template:XFRACAS.Red|IssueTypeID}}={{Template:XFRACAS.Black|"50"}}{{Template:XFRACAS.Blue|>}}
::::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Legal}}{{Template:XFRACAS.Blue|</Description>}}
:::::{{Template:XFRACAS.Blue|</Issue>}}
::::{{Template:XFRACAS.Blue|</MemberRole>}}
:::{{Template:XFRACAS.Blue|</TeamMember>}}
::{{Template:XFRACAS.Blue|</TeamMembers>}}
:{{Template:XFRACAS.Blue|</Problem>}}

Latest revision as of 16:25, 28 July 2015