Company Element: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:XFRACAS.XML.Import.Doc.Class|Company|Company}} ===XML Element=== <Company> <CompanyName /> <Phone /> <Phone2 /> <Fax /> <SalesRegion> <Issue IssueTypeID=…')
 
No edit summary
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Company|Company}}
{{Template:XFRACAS.XML.Import.Doc.Class|Company|Company}}
===XML Element===
===XML Element===
<Company>
<Company>
  <CompanyName  />
<[[Company.CompanyName|'''CompanyName''']] />
  <Phone />
<Phone />
  <Phone2 />
<Phone2 />
  <Fax />
<Fax />
  <SalesRegion>
<SalesRegion>
  <Issue IssueTypeID=”33”>
::  <Issue IssueTypeID=”33”>
    <Code />
:::    <Code />
    <Description />
:::    <Description />
  </Issue>
::  </Issue>
  </SalesRegion>
::  </SalesRegion>
  < WarrantyMonthShip  />
::  < WarrantyMonthShip  />
  <WarrantyMonthCommission />
::  <WarrantyMonthCommission />
  <WarrantyCalcMethod  />
::  <WarrantyCalcMethod  />
  <Entity>
::  <Entity>
    <EnityID />
:::    <EnityID />
    <EntityName  />
:::    <EntityName  />
  </Entity>
::  </Entity>
  <Addresses>
:::  <Addresses>
    <Address>
:::    <Address>
      <City  />
::::      <City  />
      <State  />
::::      <State  />
      <Country  />
::::      <Country  />
      <ZipCode  />
::::      <ZipCode  />
      <Location  />
::::      <Location  />
    </Address>
:::    </Address>
  </Addresses>
::  </Addresses>
  <Categories>
<[[Company.Categories|'''Categories''']]>
    <Category>
::    <Category>
      <CategoryID />
:::      <CategoryID />
      <CategoryName />
:::      <[[Company.CompanyName|'''CompanyName''']]/>
    </Category>
::    </Category>
  </Categories>
</[[Company.Categories|'''Categories''']]>
  <Details />
<Details />
</Company>
</Company>





Revision as of 23:44, 26 September 2013

XML Element

<Company>
<CompanyName />
<Phone />
<Phone2 />
<Fax />
<SalesRegion>
<Issue IssueTypeID=”33”>
<Description />
</Issue>
</SalesRegion>
< WarrantyMonthShip />
<WarrantyMonthCommission />
<WarrantyCalcMethod />
<Entity>
<EnityID />
<EntityName />
</Entity>
<Addresses>
<Address>
<City />
<State />
<Country />
<ZipCode />
<Location />
</Address>
</Addresses>
<Categories>
<Category>
<CategoryID />
<CompanyName/>
</Category>
</Categories>
<Details />
</Company>


Description

  • The CompanyName element is required, and its value must not match any other existing company name.
  • The Phone (String), Phone2 (String), and Fax (String) elements are optional.
  • The SalesRegion element is optional if present it must contain an existing valid issue with an IssueTypeID equal to 33 (Company Sales Region).
  • The WarrantyMonthShip (Integer) element is optional.
  • The WarrantyMonthCommission (Integer) element is optional.
  • The WarrantyCalcMethod (Integer) element is optional.
  • The Entity element is optional. If present it must contain a valid entity. The Entity element is only used to supply entity data for importing details.
  • The Address element is optional and if present must conatin a Location element value that matches an existing address location.
  • The Categories element is required and must conatin one or more Category element.
  • At least one Category element is required. The Category element must contain a CategoryName element whose value matches an existing company category.
  • Details – see details section.