UiPath Documentation
industry-department-solutions
latest
false
Supply Chain & Retail Solutions user guide

Sales dataset

Sales dataset for the Markdown & Promotions module, containing historical sales and return transactions per product and location.

The Sales dataset contains historical sales and return transactions for each product at each location. It is the primary demand signal used by the Markdown & Promotions module to understand product performance.

Purpose

The Markdown & Promotions module uses the Sales dataset to:

  • Provide historical demand and sales performance by product and location
  • Capture returns alongside gross sales for net performance analysis
  • Support evaluation of markdown and promotion impact over time

Required fields

FieldDescriptionTypeUseNotes
location_idUnique identifier for the store or location.stringApplication / PresalesRequired. Primary key. Foreign key to location.
product_idUnique identifier for the product SKU.stringApplication / PresalesRequired. Primary key. Foreign key to product.
sold_atTimestamp when the sale occurred.timestampApplication / PresalesRequired. Primary key.
created_atTimestamp when the record was created.timestampApplicationOptional.
customer_idIdentifier for the customer associated with the transaction.stringApplication / PresalesOptional.
demand_unitsNumber of units demanded or ordered.floatApplication / PresalesOptional.
demand_valueTotal value of the demanded units.floatApplication / PresalesOptional.
return_unitsNumber of units returned.integerApplication / PresalesRequired.
return_valueTotal value of the returned units.floatApplication / PresalesRequired.
returned_atTimestamp when items were returned.timestampApplication / PresalesOptional.
sale_idSource-system identifier for the sale.stringApplication / PresalesOptional.
sales_unitsNet units sold, after returns.integerApplication / PresalesRequired.
sales_valueNet sales value, after returns.floatApplication / PresalesRequired.
shipped_atTimestamp when items were shipped.timestampApplication / PresalesOptional.
updated_atTimestamp when the record was last updated.timestampApplicationOptional.

Usage notes

  • Product and location identifiers must align with the Products and Locations datasets.
  • Units should use the same unit of measure as related datasets (for example, Stock).
  • A complete history improves the accuracy of demand analysis.

Why this dataset matters

Sales history is the core demand signal. Without it, the solution cannot assess product performance or the impact of markdowns and promotions.

  • Purpose
  • Required fields
  • Usage notes
  • Why this dataset matters

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated