Company
Jump to navigation
Jump to search
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
<?xml version = "1.0" encoding = "utf-8"?> <!DOCTYPE Companies SYSTEM "Company.dtd"[]> <Companies xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd = "http://www.w3.org/2001/XMLSchema"> <ExportData> <ReportGenerated> 09/17/2013 05:01 PM </ReportGenerated> <GeneratedBy> <FirstName> Joe </FirstName> <LastName> User </LastName> <Login> JUSER </Login> </GeneratedBy> <GMTOffset> -7 </GMTOffset> </ExportData> <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> <Category> <!— The Category element must contain a CategoryName element whose value matches an existing company category. <CategoryID> 6 </CategoryID> <!— String. 20 characters maximum. <CategoryName> Owner </CategoryName> </Category> <Category> <CategoryID> 9 </CategoryID> <!— String. 20 characters maximum. <CategoryName> Authorized Service Provider </CategoryName> <!— The Category element must contain a CategoryName element whose value matches an existing company category. </Category> <!— The Category element must contain a CategoryName element whose value matches an existing company category. <Category> <CategoryID> 14 </CategoryID> <!— String. 20 characters maximum. <CategoryName> Distributor </CategoryName> </Category> </Categories> <Details /> </Company> </Companies>