Company: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


===Company Sample===
===Company Sample===
{{Template:XFRACAS.Black|<?xml version}}={{Template:XFRACAS.Black|"1.0" encoding}}={{Template:XFRACAS.Black|"utf-8"?>}}
:{{Template:XFRACAS.Blue|</Companies>}}
{{Template:XFRACAS.Black|<!DOCTYPE Companies SYSTEM "Company.dtd"[]>}}
::{{Template:XFRACAS.Blue|<[[Company Element|Company]]>}}
{{Template:XFRACAS.Black|<Companies xmlns:xsi}}={{Template:XFRACAS.Black|"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd}}={{Template:XFRACAS.Black|"http://www.w3.org/2001/XMLSchema">}}
:::<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|<ExportData>}}
:::{{Template:XFRACAS.Blue|<[[Company.CompanyName|'''CompanyName''']]>}}{{Template:XFRACAS.Black|ReliaSoft Corporation}}{{Template:XFRACAS.Blue|</CompanyName>}}
    {{Template:XFRACAS.Blue|<ReportGenerated>}}{{Template:XFRACAS.Black|09/17/2013 05:01 PM}}{{Template:XFRACAS.Blue|</ReportGenerated>}}
:::<font color=blue><!—</font>{{APIComment|Phone is optional String. 22 characters maximum.}}
    {{Template:XFRACAS.Blue|<GeneratedBy>}}
:::{{Template:XFRACAS.Blue|<Phone>}}{{Template:XFRACAS.Black|520-555-5555}}{{Template:XFRACAS.Blue|</Phone>}}
      {{Template:XFRACAS.Blue|<FirstName>}}{{Template:XFRACAS.Black|Joe}}{{Template:XFRACAS.Blue|</FirstName>}}
:::<font color=blue><!—</font>{{APIComment|Phone2 is optional. String. 22 characters maximum.}}
      {{Template:XFRACAS.Blue|<LastName>}}{{Template:XFRACAS.Black|User}}{{Template:XFRACAS.Blue|</LastName>}}
:::{{Template:XFRACAS.Blue|<Phone2 />}}
      {{Template:XFRACAS.Blue|<Login>}}{{Template:XFRACAS.Black|JUSER}}{{Template:XFRACAS.Blue|</Login>}}
:::<font color=blue><!—</font>{{APIComment|Fax is optional. String. 22 characters maximum.}}
    {{Template:XFRACAS.Blue|</GeneratedBy>}}
:::{{Template:XFRACAS.Blue|<Fax />}}
    {{Template:XFRACAS.Blue|<GMTOffset>}}{{Template:XFRACAS.Black|-7}}{{Template:XFRACAS.Blue|</GMTOffset>}}
:::<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|</ExportData>}}
:::{{Template:XFRACAS.Blue|<SalesRegion />}}
  {{Template:XFRACAS.Blue|<[[Company Element|Company]]>}}
:::<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><!—</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|<WarrantyMonthShip>}}{{Template:XFRACAS.Black|15}}{{Template:XFRACAS.Blue|</WarrantyMonthShip>}}
    {{Template:XFRACAS.Blue|<[[Company.CompanyName|'''CompanyName''']]>}}{{Template:XFRACAS.Black|ReliaSoft Corporation}}{{Template:XFRACAS.Blue|</CompanyName>}}
:::<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><!—</font>{{APIComment|Phone is optional String. 22 characters maximum.}}
:::{{Template:XFRACAS.Blue|<WarrantyMonthCommission>}}{{Template:XFRACAS.Black|12}}{{Template:XFRACAS.Blue|</WarrantyMonthCommission>}}
    {{Template:XFRACAS.Blue|<Phone>}}{{Template:XFRACAS.Black|520-555-5555}}{{Template:XFRACAS.Blue|</Phone>}}
:::<font color=blue><!—</font>{{APIComment|WarrantyCalcMethod (Integer) is optional.}}
    <font color=blue><!—</font>{{APIComment|Phone2 is optional. String. 22 characters maximum.}}
:::{{Template:XFRACAS.Blue|<WarrantyCalcMethod>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</WarrantyCalcMethod>}}
    {{Template:XFRACAS.Blue|<Phone2 />}}
:::{{Template:XFRACAS.Blue|<Entity>}}
    <font color=blue><!—</font>{{APIComment|Fax is optional. String. 22 characters maximum.}}
::::{{Template:XFRACAS.Blue|<EntityID>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</EntityID>}}
    {{Template:XFRACAS.Blue|<Fax />}}
::::{{Template:XFRACAS.Blue|<EntityName>}}{{Template:XFRACAS.Black|XFRACAS Software}}{{Template:XFRACAS.Blue|</EntityName>}}
    <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|</Entity>}}
    {{Template:XFRACAS.Blue|<SalesRegion />}}
:::<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.}}
    <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}}
:::{{Template:XFRACAS.Blue|<Addresses>}}
    {{Template:XFRACAS.Blue|<WarrantyMonthShip>}}{{Template:XFRACAS.Black|15}}{{Template:XFRACAS.Blue|</WarrantyMonthShip>}}
::::{{Template:XFRACAS.Blue|<Address>}}
    <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.}}
:::::{{Template:XFRACAS.Blue|<AddressLine1>}}{{Template:XFRACAS.Black|1450 S. Eastside Loop}}{{Template:XFRACAS.Blue|</AddressLine1>}}
    {{Template:XFRACAS.Blue|<WarrantyMonthCommission>}}{{Template:XFRACAS.Black|12}}{{Template:XFRACAS.Blue|</WarrantyMonthCommission>}}
:::::{{Template:XFRACAS.Blue|<AddressLine2 />}}
    <font color=blue><!—</font>{{APIComment|WarrantyCalcMethod (Integer) is optional.}}
:::::{{Template:XFRACAS.Blue|<City>}}{{Template:XFRACAS.Black|Tucson}}{{Template:XFRACAS.Blue|</City>}}
    {{Template:XFRACAS.Blue|<WarrantyCalcMethod>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</WarrantyCalcMethod>}}
:::::{{Template:XFRACAS.Blue|<State>}}{{Template:XFRACAS.Black|Arizona}}{{Template:XFRACAS.Blue|</State>}}
    {{Template:XFRACAS.Blue|<Entity>}}
:::::{{Template:XFRACAS.Blue|<Country>}}{{Template:XFRACAS.Black|United States}}{{Template:XFRACAS.Blue|</Country>}}
      {{Template:XFRACAS.Blue|<EntityID>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</EntityID>}}
:::::{{Template:XFRACAS.Blue|<ZipCode>}}{{Template:XFRACAS.Black|85710}}{{Template:XFRACAS.Blue|</ZipCode>}}
    <font color=blue><!—</font>{{APIComment|*****************}}
:::::{{Template:XFRACAS.Blue|<Location>}}{{Template:XFRACAS.Black|ReliaSoft Corporate}}{{Template:XFRACAS.Blue|</Location>}}
      {{Template:XFRACAS.Blue|<EntityName>}}{{Template:XFRACAS.Black|XFRACAS Software}}{{Template:XFRACAS.Blue|</EntityName>}}
::::{{Template:XFRACAS.Blue|</Address>}}
    {{Template:XFRACAS.Blue|</Entity>}}
:::{{Template:XFRACAS.Blue|</Addresses>}}
    <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.}}
:::<font color=blue><!—</font>{{APIComment|Categories are required and must contain one or more of the Category element.}}
    {{Template:XFRACAS.Blue|<Addresses>}}
:::{{Template:XFRACAS.Blue|<[[Company.Categories|'''Categories''']]>}}
      {{Template:XFRACAS.Blue|<Address>}}
::::<font color=blue><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company category.}}
        {{Template:XFRACAS.Blue|<AddressLine1>}}{{Template:XFRACAS.Black|1450 S. Eastside Loop}}{{Template:XFRACAS.Blue|</AddressLine1>}}
::::{{Template:XFRACAS.Blue|<Category>}}
        {{Template:XFRACAS.Blue|<AddressLine2 />}}
:::::{{Template:XFRACAS.Blue|<CategoryID>}}{{Template:XFRACAS.Black|6}}{{Template:XFRACAS.Blue|</CategoryID>}}
        {{Template:XFRACAS.Blue|<City>}}{{Template:XFRACAS.Black|Tucson}}{{Template:XFRACAS.Blue|</City>}}
:::::<font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
        {{Template:XFRACAS.Blue|<State>}}{{Template:XFRACAS.Black|Arizona}}{{Template:XFRACAS.Blue|</State>}}
:::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Owner}}{{Template:XFRACAS.Blue|</CategoryName>}}
        {{Template:XFRACAS.Blue|<Country>}}{{Template:XFRACAS.Black|United States}}{{Template:XFRACAS.Blue|</Country>}}
::::{{Template:XFRACAS.Blue|</Category>}}
        {{Template:XFRACAS.Blue|<ZipCode>}}{{Template:XFRACAS.Black|85710}}{{Template:XFRACAS.Blue|</ZipCode>}}
::::<font color=blue><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company category.}}
        {{Template:XFRACAS.Blue|<Location>}}{{Template:XFRACAS.Black|ReliaSoft Corporate}}{{Template:XFRACAS.Blue|</Location>}}
::::{{Template:XFRACAS.Blue|<Category>}}
      {{Template:XFRACAS.Blue|</Address>}}
:::::{{Template:XFRACAS.Blue|<CategoryID>}}{{Template:XFRACAS.Black|9}}{{Template:XFRACAS.Blue|</CategoryID>}}
    {{Template:XFRACAS.Blue|</Addresses>}}
:::::<font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
    <font color=blue><!—</font>{{APIComment|Categories are required and must contain one or more of the Category element.}}
:::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Authorized Service Provider}}{{Template:XFRACAS.Blue|</CategoryName>}}
    {{Template:XFRACAS.Blue|<[[Company.Categories|'''Categories''']]>}}
::::{{Template:XFRACAS.Blue|</Category>}}
      {{Template:XFRACAS.Blue|<Category>}}
::::{{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|<CategoryID>}}{{Template:XFRACAS.Black|14}}{{Template:XFRACAS.Blue|</CategoryID>}}
      {{Template:XFRACAS.Blue|<CategoryID>}}{{Template:XFRACAS.Black|6}}{{Template:XFRACAS.Blue|</CategoryID>}}
:::::<font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
        <font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
:::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Distributor}}{{Template:XFRACAS.Blue|</CategoryName>}}
        {{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Owner}}{{Template:XFRACAS.Blue|</CategoryName>}}
::::{{Template:XFRACAS.Blue|</Category>}}
      {{Template:XFRACAS.Blue|</Category>}}
:::{{Template:XFRACAS.Blue|</[[Company.Categories|'''Categories''']]>}}
      {{Template:XFRACAS.Blue|<Category>}}
:::{{Template:XFRACAS.Blue|<Details />}}
        {{Template:XFRACAS.Blue|<CategoryID>}}{{Template:XFRACAS.Black|9}}{{Template:XFRACAS.Blue|</CategoryID>}}
::{{Template:XFRACAS.Blue|</[[Company Element|Company]]>}}
        <font color=blue><!—</font>{{APIComment|String. 20 characters maximum.}}
:{{Template:XFRACAS.Blue|</Companies>}}
        {{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Authorized Service Provider}}{{Template:XFRACAS.Blue|</CategoryName>}}
      <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><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company category.}}
      {{Template:XFRACAS.Blue|<Category>}}
        {{Template:XFRACAS.Blue|<CategoryID>}}{{Template:XFRACAS.Black|14}}{{Template:XFRACAS.Blue|</CategoryID>}}
        <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>}}

Revision as of 17:56, 17 March 2015


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 Sample

</Companies>
<Company>
<!— If no CompanyID is given, a new CompanyID will be assigned. If an existing CompanyID is given then Company may be updated. Integer.
<CompanyName> ReliaSoft Corporation </CompanyName>
<!— Phone is optional String. 22 characters maximum.
<Phone> 520-555-5555 </Phone>
<!— Phone2 is optional. String. 22 characters maximum.
<Phone2 />
<!— Fax is optional. String. 22 characters maximum.
<Fax />
<!— SalesRegion (Integer) is optional, and if present, must contain an existing issue with an IssueTypeID equal to 33 (Company Sales Region)
<SalesRegion />
<!— WarrantyMonthShip (Integer) is required. Months must be in integer form and may contain the values including to and between 1 and 12
<WarrantyMonthShip> 15 </WarrantyMonthShip>
<!— WarrantyMonthCommission (Integer) is required. Months must be in integer form and may contain the values including to and between 1 and 12.
<WarrantyMonthCommission> 12 </WarrantyMonthCommission>
<!— WarrantyCalcMethod (Integer) is optional.
<WarrantyCalcMethod> 1 </WarrantyCalcMethod>
<Entity>
<EntityID> 1 </EntityID>
<EntityName> XFRACAS Software </EntityName>
</Entity>
<!— Addresses are optional and, if present, must contain a Location element that matches an existing address location. Must be a valid address.
<Addresses>
<Address>
<AddressLine1> 1450 S. Eastside Loop </AddressLine1>
<AddressLine2 />
<City> Tucson </City>
<State> Arizona </State>
<Country> United States </Country>
<ZipCode> 85710 </ZipCode>
<Location> ReliaSoft Corporate </Location>
</Address>
</Addresses>
<!— Categories are required and must contain one or more of the Category element.
<Categories>
<!— The Category element must contain a CategoryName element whose value matches an existing company category.
<Category>
<CategoryID> 6 </CategoryID>
<!— String. 20 characters maximum.
<CategoryName> Owner </CategoryName>
</Category>
<!— The Category element must contain a CategoryName element whose value matches an existing company category.
<Category>
<CategoryID> 9 </CategoryID>
<!— String. 20 characters maximum.
<CategoryName> Authorized Service Provider </CategoryName>
</Category>
<Category>
<CategoryID> 14 </CategoryID>
<!— String. 20 characters maximum.
<CategoryName> Distributor </CategoryName>
</Category>
</Categories>
<Details />
</Company>
</Companies>