Daasity Knowledge Base
Daasity Knowledge Base
  • Start here
    • Daasity Overview
    • Important Concepts
      • Attribution Overview
      • What is a Daasity Valid Order?
      • Customer Householding
      • Timezones in Daasity
      • Ecommerce Glossary
      • Daasity Data Security Overview
    • Retail Analytics 101
      • Understanding the Basics: POS Data 101
      • How to use Syndicated Data
    • Product Changelog
    • Feature Requests
  • 🔌Extract
    • Extract your data with Daasity
    • All Integrations
      • Alchemer
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Algolia
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Amazon Advertising
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Where to Find Your Data
      • Amazon Seller Central
        • Validating Your Amazon Data in Daasity
          • Comparing Your Amazon Seller Central Orders to Daasity
        • Integration Setup
          • Configure Amazon Reports
          • Monitor Amazon Reports
        • Integration Specifications
          • Orders API
          • FBA Customer Concessions Reports
          • FBA Sales Reports
          • FBA Inventory Reports
          • FBA Removals Reports
          • Inventory Reports
          • Order Tracking Reports
          • Performance Reports
          • Returns Reports
          • Settlement Reports
          • Seller Retail Analytics Reports
        • Workflow Configuration Setup
          • Orders API
          • FBA Customer Concession Reports
          • FBA Inventory Reports
          • Performance Reports
          • FBA Sales Reports
          • FBA Removal Reports
          • Inventory Reports
          • Order Tracking Reports
          • Returns Reports
          • Seller Retail Analytics Reports
          • Settlement Reports
        • Transformation Configuration Setup
          • Orders API
          • FBA Customer Concessions Reports
          • FBA Inventory Reports
          • Performance Reports
          • FBA Sales Reports
          • FBA Removals Reports
          • Inventory Reports
          • Order Tracking Reports
          • Returns Reports
          • Seller Retail Analytics Reports
          • Settlement Reports
      • Amazon Vendor Central
        • Integration Setup
        • Integration Specifications
        • How to use
        • ASIN Mapping Configuration Setup
        • Workflow Configuration Setup
        • Transformation Configuration Setup
          • Vendor Sales & Inventory Report
          • Vendor Traffic Report
      • AppLovin
        • Integration Setup
      • Attentive Mobile
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Azure SQL Database
      • Back In Stock
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Big Commerce
        • Integration Setup
          • Connect Daasity From BigCommerce Marketplace
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • BigQuery Datasource
      • Bing Ads
        • Integration Setup
        • Integration Specifications
      • Circana
        • Integration Setup
        • Integration Specifications
        • Data Release Calendar
        • H-E-B Circana
      • Cordial
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Criteo
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • D​ata File (CSV, XLS)
      • Emplifi
        • Integration Specifications
      • Extensiv (Skubana)
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Facebook Ads
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Where to Find Your Data
      • Fairing V2
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Important Notes
      • Google Ads
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Important Notes
      • Google Analytics 4
        • API vs BigQuery
        • API Integration
          • Integration Setup
          • Integration Specifications
          • Workflow Configuration Setup
          • Transformation Configuration Instructions
          • Custom Reports
          • Validating GA4 Data in Daasity
          • Blending Universal Analytics & GA4 Data
        • BigQuery integration
          • Integration Setup
          • Integration Specifications
          • Workflow Configuration Setup
          • Transformation Configuration Instructions
          • Important Notes
          • Creating a Custom Report
      • Google Sheet
      • Gorgias
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Important Notes
      • Impact Radius (Beta)
        • Integration Specifications
      • Iterable
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Klaviyo Summary Statistics
        • Integration Setup
        • Integration Specifications
      • Klaviyo V2
        • Integration Setup
        • Integration Specifications
      • KnoCommerce
        • Integration Setup
        • Integration Specifications
      • Loop Returns
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Microsoft SQL Server Database
      • Mongo Database
      • MySQL Database
      • Narvar
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • NetSuite
      • Newstore
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Northbeam
        • Integration Setup
      • Okendo
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Ometria
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Order Desk
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Pepperjam
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Pinterest
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Postgres Database
      • Postscript (beta)
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Important Notes
      • Recharge
        • Integration Setup
        • Integration Specifications
        • Integration Specifications (2021-11 Beta)
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Recharge Data and Known Discrepancies
      • Retail Next
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Rockerbox
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Salesforce Commerce Cloud
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • SFTP
      • ShipBob
        • Integration Setup
        • Integration Specifications
      • Shipstation
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Shopify
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
        • Shopify B2B Data
      • SKIO
        • Integration Setup
        • Integration Specifications
      • Snapchat
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • SPINS
        • Integration Setup
        • Integration Specifications
        • How to Use
        • Data Release Calendar
      • Stay Ai
        • Integration Setup
        • Integration Specifications
      • Target Plus
        • Integration Setup
      • Thankful
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • TikTok
        • Integration Setup
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Walmart Marketplace
        • Integration Setup
        • Integration Specifications
      • Whole Foods Market
        • Integration Setup
        • Integration Specifications
        • How to use
      • Yotpo
        • Integration Setup
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
      • Zendesk
        • Integration Specifications
        • Workflow Configuration Setup
        • Transformation Configuration Setup
    • Brand Supplied Data (BSD)
      • BSD Overview
      • Monitoring Your BSD Progress
      • Revenue Plan
      • Marketing Budget
      • Marketing Spend
      • RFM Values
      • Shipping & Fulfillment Cost
      • SKU Hierarchy
      • SKU Mapping
      • SKU Cost
      • Discount Code Mapping
      • Other Order Sources
      • Channel Mapping
        • Overview & Setup
        • Filling out Channel Mapping
        • Missing from GA & Missing from BSD
      • Configuration
  • 📊VISUALIZE
    • Dashboards
      • Dashboard Overview
      • Standard Dashboards
        • Daasity 101 Overview Dashboards
          • Flashes
          • Shopify Sales Report
          • Account Health
        • Digital Product & Revenue
          • Orders and Revenue
          • Amazon Settlement Report
          • Product Repurchase Rate
          • Product
            • Product Dimensions
              • Why is a Product Name NULL?
          • Inventory
          • Operations
            • Fulfilment Status Options
        • Retention Marketing Dashboards
          • Notifications (Email/SMS)
          • Retention
          • Customer Performance (Email/SMS)
          • Site Funnels
        • Acquisition Marketing Dashboards
          • Attribution Deep Dive
            • Marketing Attribution
              • Attribution Overview
              • Survey-Based Attribution
              • Discount Code Attribution
              • First Click, Last Click, and Assisted Attribution
              • Custom Attribution
              • Vendor-Reported Attribution
              • CPO, CPA, and CAC
              • Missing from GA & Missing from BSD
          • LTV & RFM
            • RFM
              • RFM in the Daasity App
              • Understanding RFM
              • Time on Books (TOB)
          • Marketing
          • Vendor-Reported Marketing Performance
          • Site Analytics & Attribution
      • Integration Dashboards
        • Amazon All Orders Report
        • Amazon Seller Central Business Reports
        • Gorgias
        • Klaviyo Campaign & Flow Performance
        • Loop Returns
        • Okendo Reviews
        • ShipBob
        • Shipstation
        • Subscription
        • Walmart Marketplace Account Sales Report
        • Yotpo
    • Explores
      • Explore Overview
      • Order Line Revenue vs. Transactional Sales Report
      • How to Access An Explore
      • Standard Daasity Explores
        • Current Inventory Level Explore
        • Customer Details Explore
        • Daily Company Metrics Explore
        • Daily Marketing Plan To Actual Marketing Performance Explore
        • Daily Plan to Actual Explore
        • Lifetime Value Explore
        • Marketing Attribution Explore
        • Multi-Channel Transaction Explore
        • Order and Order Line Revenue Explore
        • Product Page Explore
        • Shopping Stage Explore
        • SKU Level Repurchase Rates Explore
        • Traffic Explore
        • Transactional Sales Report Explore
        • UA vs G4 Explore
      • Integration Explores
        • Algolia
        • Amazon Settlement Explore
        • Fairing Survey Responses Explore
        • Gorgias Tickets Explore
        • Loop Returns Explore
        • Okendo Reviews Explore
        • Subscribers and Subscription Monthly Churn Rates Explores (Recharge)
        • Shipstation Explore
        • Yotpo
        • Zen Desk
    • Looker Guides
      • Building visualizations
      • Working with Date Dimensions
      • Schedule a Report or Dashboard
      • Exporting Data
    • Looker Guides (Developer)
      • Daasity Hub & Spoke Introduction
      • Hub & Spoke File Structure
      • Working with LookML Dashboards
      • Customizing Base Daasity Code
    • Visualize using other BI tools
  • 🔀Transform
    • Transforming Data with Daasity
    • Daasity Data Models
      • Daasity Data Model Overview
      • Unified Data Schemas
        • Unified Schema Introduction
        • Unified Order Schema (UOS)
        • Unified Notification Schema (UNS)
        • Unified Subscription Schema (USS)
        • Unified Marketing Schema (UMS)
        • Unified Traffic Schema (UTS)
        • Unified Wholesale Schema (UWS)
      • Data Mart Models
        • Data Mart Introduction
        • Data Reporting Platform (DRP)
        • Channel Attribution Data Mart
        • Marketing Data Mart
      • Transform Code
        • Transform Code Introduction
        • Transform Code Sequence - DRP
        • Initialization Code
        • Householding Code
        • Order Status Code
        • Order Channel and Marketing Code
        • Daily Plan Code
        • Order and Order Line Revenue
        • Plan to Actual Code
        • Customer Code
        • Subscription Code
        • Reviews
        • Life-Time Value Code
        • Returns
        • Product and Inventory Code
        • Email & SMS
        • Transform Code Sequence - Data Mart
        • Unified Order Schema (UOS) Code
        • Unified Marketing Schema (UMS) Code
        • Unified Notification Schema (UNS)
        • Channel Attribution Data Mart Code
        • Marketing Data Mart Code
      • Source to Final Destination
    • Code Repository
      • Code Repository Overview
      • Getting Access to Your Code Repository
      • Code Repository Branches
      • Custom SQL Code
      • Custom Script Manifest Files
    • Script Manifest (YAML) Files
  • 🎵Data Orchestration
    • Workflows
      • Getting Started with Workflows
      • Creating Workflows
      • Managing Workflows
      • Workflow Metrics
    • Notifications
      • Introduction to Notifications
      • Enabling Notification Emails
      • Notifications UI
      • Managing Notifications
      • Authorization List
  • Audiences
    • Audiences Overview
    • Pushing Audience Data to Targets
      • Targets Overview
      • Attentive
        • Events Target
        • Subscribers Target
        • Target Endpoint Documentation
      • Facebook Ads
        • Facebook Target
        • Target Endpoint Documentation
      • Google Ads
        • Google Ads Target
        • Target Endpoint Documentation
      • Klaviyo
        • Events Target
        • Profiles Target
        • Target Endpoint Documentation
      • Sailthru
        • Events Target
        • Users Target
        • Target Endpoint Documentation
      • Tiktok Ads
        • TikTok Target
        • Target Endpoint Documentation
    • Building Audiences
  • warehouse
    • BigQuery
    • Redshift
    • Snowflake
    • Test Data Warehouse
      • Test Data Warehouse Overview
      • Create a Snowflake Test Warehouse
      • Create a Redshift Test Warehouse
  • —
    • Go to Daasity App
    • Contact Support
    • ✍️Feature Requests
Powered by GitBook
On this page
  • Overview
  • Entity Relationship Diagram (ERD)
  • Unified Wholesale Schema Tables
  • Sell-out by Day, SKU and Location
  • Sell-out by Day and Location
  • Sell-in
  • SKU Inventory
  • SKU Mapping
  • Location Mapping

Was this helpful?

  1. Transform
  2. Daasity Data Models
  3. Unified Data Schemas

Unified Wholesale Schema (UWS)

This page provides a detailed description of the Unified Wholesale Schema (UWS) within the Daasity Data Model and defines each table and column in this schema

PreviousUnified Traffic Schema (UTS)NextData Mart Models

Last updated 1 year ago

Was this helpful?

Overview

The Unified Wholesale Schema (UWS) is a core data model within the Daasity transformation module that helps accelerate development of analytical capability by normalizing the sell-in, sell-out and inventory data that is often provided by retailers in a variety of formats and layouts.

The normalized schema was designed to help you in several key areas:

  1. Utilize the Daasity Wholesale feature to easily convert your raw retailer source files into a format that can be transformed into the UWS schema

  2. Understand overall consumer demand across all retailers at both the item level and the geographic level

  3. Track your inventory across all retailers to determine your supply chain requirements

  4. Understand the velocity of your sales by combining sell-in and sell-out

  5. Act as a staging source for ingestion into our to combine with your digital and owned retail consumer sales.

NOTE: This schema is still being developed and minor changes should be expected

Entity Relationship Diagram (ERD)

the ERD for the Unified Wholesale Schema (UTS) illustrating the different tables and keys to join across tables.

Unified Wholesale Schema Tables

  • Sell-out by Day, SKU and Location [uws.sell_out_day_sku_location]

  • Sell-out by Day and Location [uws.sell_out_day_location]

  • Sell-in [uws.sell_in_sku]

  • SKU Inventory [uws.sku_inventory]

  • Current SKU Inventory [uws.current_sku_inventory]

  • SKU Mapping [uws.sku_mapping]

  • Location Mapping [uws.location_mapping]

TIP: All the tables contain the following fields which can be used to track the data flow from the source system to the integration schema within the database and then to UWS, our normalized wholesale schema

  • __shop_id: an identifier for the retailer

  • __uws_integration_id: the identifier in the Daasity platform for the source data

  • __loaded_at: defines when the record was last loaded into this table

  • __synced_at: defines when the record was last replicated from the source system into the integration tables

Sell-out by Day, SKU and Location

Purpose: Enables you to compare retailer sell-out data at the day level (either provided or calculated), SKU level by using the retailer provided sales/SKU data and Location.

For retailer that cannot (or do not) provide data at the SKU/Location level this table will default to the SKU level in order to enable transformation into the UOS data model

Table Name: uws.sell_out_day_sku_location

Column
Description

id

Unique id for each row

retailer

Friendly name of the retailer

country_code

Two digit code for the country of the retailer

location_id

Identifier of the location if the sales channel is retail

start_date

Start date of the reporting period

end_date

End date of the reporting period

order_date

Date of the order

original_currency

Currency of the supplied source data

currency_conversion_rate

Conversion rate applied to put into platform currency

converted_currency

Currency of the converted sales

listing_sku

Standard SKU for the item level data

item_description

Description of the item / item name

sales_channel

Channel of the sales - usually online or retail

sales_dollars_daily

If data provided daily then raw data otherwise calculation of weekly to daily data

sales_units_daily

If data provided daily then raw data otherwise calculation of weekly to daily data

sales_price_daily

Calculated value of the daily price

refunds_dollars_daily

If data provided daily then raw data otherwise calculation of weekly to daily data

refunds_units_daily

If data provided daily then raw data otherwise calculation of weekly to daily data

refunds_price_daily

Calculated value of the daily price

Sell-out by Day and Location

Purpose: Enables you to compare retailer sell-out data at the day level (either provided or calculated) and location level by using the retailer provided sales/location data

This table was designed separately for retailers that cannot provide detailed data at the SKU/Location level and thus a secondary table is needed to enable tracking data the location level.

Table Name: uws.sell_out_day_location

Column
Description

id

Unique id for each row

retailer

Friendly name of the retailer

country_code

Two digit code for the country of the retailer

start_date

Start date of the reporting period

end_date

End date of the reporting period

order_date

Date of the order

original_currency

Currency of the supplied source data

currency_conversion_rate

Conversion rate applied to put into platform currency

converted_currency

Currency of the converted sales

location_id

Identifier of the location if the sales channel is retail

sales_channel

Channel of the sales - usually online or retail

sales_dollars_daily

If data provided weekly then replica of raw data otherwise empty

sales_units_daily

If data provided weekly then replica of raw data otherwise empty

sales_price_daily

Derived value of the average price for the week

refunds_dollars_daily

If data provided daily then raw data otherwise calculation of weekly to daily data

refunds_units_daily

If data provided daily then raw data otherwise calculation of weekly to daily data

refunds_price_daily

Calculated value of the daily price

Sell-in

Purpose: Enables you to compare retailer sell-in data across all your retailers

Table Name: uws.sell_in_sku

Column
Description

id

Unique id for each row

retailer

Friendly name of the retailer

country_code

Two digit code for the country of the retailer

order_date

Date of the sell-in order

original_currency

Currency of the supplied source data

currency_conversion_rate

Conversion rate applied to put into platform currency

converted_currency

Currency of the converted sales

listing_sku

Standard SKU for the item level data

item_description

Description of the item / item name

sell_in_dollars

Dollar amount of the sell-in

sell_in_units

Units of the sell-in

sell_in_price

Calculated value of the price for the sell-in SKU

SKU Inventory

Purpose: Enables you to track history of inventory levels held by the retailer to provider a deeper picture of your inventory

Table Name: uws.sku_inventory

Column
Description

id

Unique id for each row

retailer

Friendly name of the retailer

country_code

Two digit code for the country of the retailer

location_id

Identifier of the location if the sales channel is retail

inventory_date

Date of the inventory data

listing_sku

Standard SKU for the item level data

retail_price

Retail price (price charged to the consumer) of the SKU at the time of the inventory quantity

cost_price

Cost price (price the retailer paid) of the SKU at the time of the inventory quantity

on_hand_quantity

Total quantity of inventory at the warehouse

available_quantity

Total quantity of inventory at the warehouse to sell

committed_quantity

Total quantity of inventory that is already committed as sold but not shipped

in_transit_quantity

Total quantity of inventory that is in-transit to the warehouse

on_order_quantity

Total quantity of inventory has been ordered as part of a PO

back_ordered_quantity

Total quantity of inventory that has been sold and needs to be fulfilled that is not available

Current SKU Inventory

Purpose: Replica of the SKU inventory table created to store the current inventory to make reporting simpler by exposing this table in the schema

Table Name: uws.current_sku_inventory

Column
Description

id

Unique id for each row

retailer

Friendly name of the retailer

country_code

Two digit code for the country of the retailer

location_id

Identifier of the location if the sales channel is retail

inventory_date

Date of the inventory data

listing_sku

Standard SKU for the item level data

retail_price

Retail price (price charged to the consumer) of the SKU at the time of the inventory quantity

cost_price

Cost price (price the retailer paid) of the SKU at the time of the inventory quantity

on_hand_quantity

Total quantity of inventory at the warehouse

available_quantity

Total quantity of inventory at the warehouse to sell

committed_quantity

Total quantity of inventory that is already committed as sold but not shipped

in_transit_quantity

Total quantity of inventory that is in-transit to the warehouse

on_order_quantity

Total quantity of inventory has been ordered as part of a PO

back_ordered_quantity

Total quantity of inventory that has been sold and needs to be fulfilled that is not available

SKU Mapping

Purpose: Enables you to map your item information across retailers to enable analysis by internal or retailer item naming methods

Table Name: uws.sku_mapping

Column
Description

id

Unique id for each row

retailer

Friendly name of the retailer

listing_sku

Standard SKU for the item level data

master_sku

Normalized SKU across all system for the item

upc_code

The UPC Code for the item

dcpi

Item identifier in the wholesale system

item_description

Description of the item / item name

brand_name

Name of the brand in the wholesale system

brand_sku

Item identifier from the brand in the wholesale system

Location Mapping

Purpose: Enables you to add geo-location information to brick and mortar retail locations to provide geographical analytics

Table Name: uws.location_mapping

Column
Description

location_id

Identifier of the location if the sales channel is retail

retailer

Friendly name of the retailer

location_name

Name of the location

region

Region the retailer assigns to the store

city

City of the location

state

State of the location

zip

Zipcode of the location

longitude

Longitude of the location

latitude

Latitude of the location

🔀
Unified Order Schema (UOS)
Click on this link to view