Elements and Sections in the Sales Categories XML Output File

The following table describes the elements and sections in the sales categories XML output file.

Table Elements and Sections in the Sales Categories XML File

Description Element or Section

<SalesCategory> contains the details of the sales category, as follows:

  • <StageCategory> is the name of the sales category.

  • <Description> is a description of the sales category.

  • <Order> is the order number of the sales category.

  • <MarkForTranslation> corresponds to the Mark for Translation check box in the UI. For more information, see Considerations for the Mark for Translation Setting.

<data:SalesCategory>
  <data:StageCategory>[Test Sales Category]
  </data:StageCategory>
  <data:Description>This is a test sales 
   category</data:Description>
  <data:Order>1</data:Order>
  <data:MarkForTranslation>false
  </data:MarkForTranslation>
. . .
</data:SalesCategory>

The <ListofSalesCategoryTranslations> section contains the translation values for the sales category.

<data:SalesCategory>
. . .
  <data:ListOfSalesCategoryTranslations>
. . .
  </data:ListOfSalesCategoryTranslations>
</data:SalesCategory>

The <SalesCategoryTranslation> section contains the translation values for one language:

  • <LanguageCode> contains the three-letter language code for the language. For the list of language codes, see Language Codes and Their Corresponding Language and Country.

  • <StageCategory> contains the sales category name in the language identified by the language code.

  • <Description> contains the description in the language identified by the language code.

<data:SalesCategory>
. . .
  <data:ListOfSalesCategoryTranslations>
    <data:SalesCategoryTranslation>
      <data:LanguageCode>ENU</data:LanguageCode>
      <data:StageCategory>My Test Sales 
       Category 2</data:StageCategory>
      <data:Description></data:Description>
    </data:SalesCategoryTranslation>
. . .
  </data:ListOfSalesCategoryTranslations>
</data:SalesCategory>