Company: 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]]
 
The Company element includes information about a company within XFRACAS. Information may include the company name, location, phone number, sales region, fax number, and warranty information.
 
 
===XML Elements===
*[[Company Element|Company]]
**[[Company.CompanyName|CompanyName]]
**[[Company.Categories|Categories]]
 
 
===Company Sample===
:{{Template:XFRACAS.Blue|</Companies>}}
::{{Template:XFRACAS.Blue|<[[Company Element|Company]]>}}
:::<font color=blue><!—</font>{{APIComment|If no CompanyID is given, a new CompanyID will be assigned. If an existing CompanyID is given then Company may be updated. Integer.}}
:::{{Template:XFRACAS.Blue|<[[Company.CompanyName|'''CompanyName''']]>}}{{Template:XFRACAS.Black|ReliaSoft Corporation}}{{Template:XFRACAS.Blue|</CompanyName>}}
:::<font color=blue><!—</font>{{APIComment|Phone is optional String. 22 characters maximum.}}
:::<font color=Blue><Phone></font>520-555-5555<font color=Blue></Phone></font>
:::<font color=blue><!—</font>{{APIComment|Phone2 is optional. String. 22 characters maximum.}}
:::<font color=Blue><Phone></font>520-555-5656<font color=Blue></Phone></font>
:::<font color=blue><!—</font>{{APIComment|Fax is optional. String. 22 characters maximum.}}
:::{{Template:XFRACAS.Blue|<Fax />}}
:::<font color=blue><!—</font>{{APIComment|SalesRegion (Integer) is optional, and if present, must contain an existing issue with an IssueTypeID equal to 33 (Company Sales Region)}}
:::{{Template:XFRACAS.Blue|<SalesRegion />}}
:::<font color=blue><!—</font>{{APIComment|WarrantyMonthShip (Integer) is required. Months must be in integer form and may contain the values including to and between 1 and 12}}
:::<font color=Blue><WarrantyMonthShip></font>15<font color=Blue></WarrantyMonthShip></font>
:::<font color=blue><!—</font>{{APIComment|WarrantyMonthCommission (Integer) is required. Months must be in integer form and may contain the values including to and between 1 and 12.}}
:::<font color=Blue><WarrantyCalcMethod></font>12<font color=Blue></WarrantyMonthCommission></font>
:::<font color=blue><!—</font>{{APIComment|WarrantyCalcMethod (Integer) is optional.}}
:::<font color=Blue><WarrantyCalcMethod></font>1<font color=Blue></WarrantyCalcMethod></font>
:::{{Template:XFRACAS.Blue|<Entity>}}
::::<font color=Blue><EntityID></font>1<font color=Blue></EntityID></font>
::::{{Template:XFRACAS.Blue|<EntityName>}}XFRACAS Software<font color=Blue></EntityName></font>
:::{{Template:XFRACAS.Blue|</Entity>}}
:::<font color=blue><!—</font>{{APIComment|Addresses are optional and, if present, must contain a Location element that matches an existing address location. Must be a valid address.}}
:::{{Template:XFRACAS.Blue|<Addresses>}}
::::{{Template:XFRACAS.Blue|<Address>}}
:::::{{Template:XFRACAS.Blue|<AddressLine1>}}{{Template:XFRACAS.Black|1450 S. Eastside Loop}}{{Template:XFRACAS.Blue|</AddressLine1>}}
:::::{{Template:XFRACAS.Blue|<AddressLine2 />}}
:::::<font color=Blue><City></font>Tucson<font color=Blue></City></font>
:::::<font color=Blue><State></font>Arizona<font color=Blue></State></font>
:::::<font color=Blue><Country></font>United States<font color=Blue></Country></font>
:::::<font color=Blue><ZipCode></font>85710<font color=Blue></ZipCode></font>
:::::<font color=Blue><Location></font>ReliaSoft Corporate<font color=Blue></Location></font>
::::{{Template:XFRACAS.Blue|</Address>}}
:::{{Template:XFRACAS.Blue|</Addresses>}}
:::<font color=blue><!—</font>{{APIComment|Categories are required and must contain one or more of the Category element.}}
:::{{Template:XFRACAS.Blue|<[[Company.Categories|'''Categories''']]>}}
::::<font color=blue><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company category.}}
::::{{Template:XFRACAS.Blue|<Category>}}
:::::<font color=Blue><CategoryID></font>6<font color=Blue></CategoryID></font>
:::::<font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
:::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Owner}}{{Template:XFRACAS.Blue|</CategoryName>}}
::::{{Template:XFRACAS.Blue|</Category>}}
::::<font color=blue><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company category.}}
::::{{Template:XFRACAS.Blue|<Category>}}
:::::<font color=Blue><CategoryID></font>9<font color=Blue></CategoryID></font>
:::::<font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
:::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Authorized Service Provider}}{{Template:XFRACAS.Blue|</CategoryName>}}
::::{{Template:XFRACAS.Blue|</Category>}}
::::{{Template:XFRACAS.Blue|<Category>}}
:::::<font color=Blue><CategoryID></font>14<font color=Blue></CategoryID></font>
:::::<font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
:::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Distributor}}{{Template:XFRACAS.Blue|</CategoryName>}}
::::{{Template:XFRACAS.Blue|</Category>}}
:::{{Template:XFRACAS.Blue|</[[Company.Categories|'''Categories''']]>}}
:::{{Template:XFRACAS.Blue|<Details />}}
::{{Template:XFRACAS.Blue|</[[Company Element|Company]]>}}
:{{Template:XFRACAS.Blue|</Companies>}}

Latest revision as of 16:39, 28 July 2015