User Tools

Site Tools


mattel:address_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mattel:address_file [2012/07/09 20:50] – davemattel:address_file [2025/05/22 21:53] (current) – external edit 127.0.0.1
Line 31: Line 31:
  
 </code> </code>
 +
 +==== Address tags ====
  
 The .addr file is an xml file with a <Addresses> root tag and multiple child <Address> tags.  An <Address> tag would have the following attributes: The .addr file is an xml file with a <Addresses> root tag and multiple child <Address> tags.  An <Address> tag would have the following attributes:
Line 38: Line 40:
   * CompanyName (required) - the name of the company as it should appear in Speed-Quote.   * CompanyName (required) - the name of the company as it should appear in Speed-Quote.
  
-The following values are valid for companytype attribute:+The following values are valid for CompanyType attribute:
  
   * VendorDomestic   * VendorDomestic
Line 49: Line 51:
   * Bank   * Bank
  
-Please see the Addresses worksheet in the Mattel XML-TXB fields.xls for a list of <CompanyXXXX> tag fields and associated information.+Please see the Addresses worksheet in the {{:mattel:mattelspeedquotefields.xls|}} excel file for a list of <CompanyXXXX> tag fields and associated information. 
 + 
 +==== Contact tags ====
  
 An <Address> node can have multiple <Contact> tags which define the contacts within that company.  A <Contact> tag has the following attributes: An <Address> node can have multiple <Contact> tags which define the contacts within that company.  A <Contact> tag has the following attributes:
Line 55: Line 59:
   * ContactID   (required) - the ContactID attribute is the connection between this contact and a contact for a product in the main xml file.   * ContactID   (required) - the ContactID attribute is the connection between this contact and a contact for a product in the main xml file.
   * ContactName (required) - the name of the contact as it should appear in Speed-Quote.   * ContactName (required) - the name of the contact as it should appear in Speed-Quote.
 +
 +==== Connection to main xml file ====
 +
 +In the main xml file an address linking tag is used to link to a specific address or contact.  The tag name for a company link is <Addr//COMPANYTYPE//Company> and the tag name for a contact link is <Addr//COMPANYTYPE//Contact>.  Where //COMPANYTYPE// is one of the above CompanyType attribute values.  
 +
 +The connection tags in the main xml file to link to the above example address would show as:
 +
 +<code>
 +<AddrVendorLCCompany>LC_APPTASTIC</AddrVendorLCCompany>
 +<AddrVendorLCContact>LC_APPTASTIC_DAVE</AddrVendorLCContact>
 +</code>
mattel/address_file.1341867051.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki