Company: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) |
John Leavitt (talk | contribs) |
||
Line 16: | Line 16: | ||
:::{{Template:XFRACAS.Blue|<[[Company.CompanyName|'''CompanyName''']]>}}{{Template:XFRACAS.Black|ReliaSoft Corporation}}{{Template:XFRACAS.Blue|</CompanyName>}} | :::{{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><!—</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><!—</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.}} | :::<font color=blue><!—</font>{{APIComment|Fax is optional. String. 22 characters maximum.}} | ||
:::{{Template:XFRACAS.Blue|<Fax />}} | :::{{Template:XFRACAS.Blue|<Fax />}} | ||
Line 24: | Line 24: | ||
:::{{Template:XFRACAS.Blue|<SalesRegion />}} | :::{{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><!—</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><!—</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><!—</font>{{APIComment|WarrantyCalcMethod (Integer) is optional.}} | ||
::: | :::<font color=Blue><WarrantyCalcMethod></font>1<font color=Blue></WarrantyCalcMethod></font> | ||
:::{{Template:XFRACAS.Blue|<Entity>}} | :::{{Template:XFRACAS.Blue|<Entity>}} | ||
:::: | ::::<font color=Blue><EntityID></font>1<font color=Blue></EntityID></font> | ||
::::{{Template:XFRACAS.Blue|<EntityName>}} | ::::{{Template:XFRACAS.Blue|<EntityName>}}XFRACAS Software<font color=Blue></EntityName></font> | ||
:::{{Template:XFRACAS.Blue|</Entity>}} | :::{{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.}} | :::<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.}} | ||
Line 38: | Line 38: | ||
:::::{{Template:XFRACAS.Blue|<AddressLine1>}}{{Template:XFRACAS.Black|1450 S. Eastside Loop}}{{Template:XFRACAS.Blue|</AddressLine1>}} | :::::{{Template:XFRACAS.Blue|<AddressLine1>}}{{Template:XFRACAS.Black|1450 S. Eastside Loop}}{{Template:XFRACAS.Blue|</AddressLine1>}} | ||
:::::{{Template:XFRACAS.Blue|<AddressLine2 />}} | :::::{{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|</Address>}} | ||
:::{{Template:XFRACAS.Blue|</Addresses>}} | :::{{Template:XFRACAS.Blue|</Addresses>}} | ||
Line 49: | Line 49: | ||
::::<font color=blue><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company 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|<Category>}} | ||
::::: | :::::<font color=Blue><CategoryID></font>6<font color=Blue></CategoryID></font> | ||
:::::<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|Owner}}{{Template:XFRACAS.Blue|</CategoryName>}} | :::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Owner}}{{Template:XFRACAS.Blue|</CategoryName>}} | ||
Line 55: | Line 55: | ||
::::<font color=blue><!—</font>{{APIComment|The Category element must contain a CategoryName element whose value matches an existing company 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|<Category>}} | ||
::::: | :::::<font color=Blue><CategoryID></font>9<font color=Blue></CategoryID></font> | ||
:::::<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|Authorized Service Provider}}{{Template:XFRACAS.Blue|</CategoryName>}} | :::::{{Template:XFRACAS.Blue|<CategoryName>}}{{Template:XFRACAS.Black|Authorized Service Provider}}{{Template:XFRACAS.Blue|</CategoryName>}} | ||
::::{{Template:XFRACAS.Blue|</Category>}} | ::::{{Template:XFRACAS.Blue|</Category>}} | ||
::::{{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.}} | :::::<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|Distributor}}{{Template:XFRACAS.Blue|</CategoryName>}} |
Revision as of 21:31, 2 April 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.
- <Phone>520-555-5656</Phone>
- <!— 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.
- <WarrantyCalcMethod>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>
- <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>
- <Company>
- </Companies>