Schema · Entity relationship diagram
Target tables and relationships
Target Business Partner Data feeds - daily/weekly sales, inventory, purchase orders, gross margin, forecast, PO plans, item and store dimensions - read from your Target file-sharing folder using your brand's own Target login.
ConnectEnter a login
Default schema
targetSource API docspartnersonline.com
DestinationsAmazon Redshift, Google BigQuery, Snowflake, PostgreSQL, Amazon S3
- Columns are Target's feed headers in snake_case (the union of the vendor-level and brand-level file layouts).
- Each delivered file replaces its own slice of the table (a date, a file, or the whole table for dimension feeds), so a re-sent file never double counts.
item_masterandlocation_attributesare the item and store dimensions the fact feeds join to.
Primary keyForeign keyReferencesJoins on (not a key)
Drag to pan, scroll or pinch to zoom, click a table to see what it joins to.
Table reference
16 tables · click a table for its columnsdaily_sales49 columns · Salesshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| sales_date | date | ||
| vendor_id | varchar(256) | ||
| barcode | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| dpci | varchar(256) | ||
| manufacturer_style | varchar(256) | ||
| dept | varchar(256) | ||
| class | varchar(256) | ||
| item_description | varchar(1024) | ||
| origination_channel | varchar(256) | ||
| reporting_channel | varchar(256) | ||
| fulfillment_type | varchar(256) | ||
| drive_up_sale_a | decimal(18,3) | ||
| drive_up_sale_q | decimal(18,3) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| sale_amount | decimal(18,3) | ||
| sale_quantity | decimal(18,3) | ||
| circular_sale_amount | decimal(18,3) | ||
| circular_sale_quantity | decimal(18,3) | ||
| clearance_sale_amount | decimal(18,3) | ||
| clearance_sale_quantity | decimal(18,3) | ||
| promo_sale_amount | decimal(18,3) | ||
| promo_sale_quantity | decimal(18,3) | ||
| regular_sale_amount | decimal(18,3) | ||
| regular_sale_quantity | decimal(18,3) | ||
| circle_sale_amount | decimal(18,3) | ||
| circle_sale_quantity | decimal(18,3) | ||
| mature_sale_amount | decimal(18,3) | ||
| mature_sale_quantity | decimal(18,3) | ||
| comparable_sale_amount | decimal(18,3) | ||
| comparable_sale_quantity | decimal(18,3) | ||
| ad_comparable_sale_amount | decimal(18,3) | ||
| ad_comparable_sale_quantity | decimal(18,3) | ||
| return_guest_amount | decimal(18,3) | ||
| return_guest_quantity | decimal(18,3) | ||
| original_location_id | varchar(256) | ||
| original_reporting_channel | varchar(256) | ||
| original_origination_channel | varchar(256) | ||
| shipt_app_sale_a | decimal(18,3) | ||
| shipt_app_sale_q | decimal(18,3) | ||
| shipt_target_sale_a | decimal(18,3) | ||
| shipt_target_sale_q | decimal(18,3) | ||
| brand_id | varchar(256) | ||
| brand_name | varchar(1024) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
weekly_sales49 columns · Salesshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| sales_date | date | ||
| vendor_id | varchar(256) | ||
| barcode | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| dpci | varchar(256) | ||
| manufacturer_style | varchar(256) | ||
| dept | varchar(256) | ||
| class | varchar(256) | ||
| item_description | varchar(1024) | ||
| origination_channel | varchar(256) | ||
| reporting_channel | varchar(256) | ||
| fulfillment_type | varchar(256) | ||
| drive_up_sale_a | decimal(18,3) | ||
| drive_up_sale_q | decimal(18,3) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| sale_amount | decimal(18,3) | ||
| sale_quantity | decimal(18,3) | ||
| circular_sale_amount | decimal(18,3) | ||
| circular_sale_quantity | decimal(18,3) | ||
| clearance_sale_amount | decimal(18,3) | ||
| clearance_sale_quantity | decimal(18,3) | ||
| promo_sale_amount | decimal(18,3) | ||
| promo_sale_quantity | decimal(18,3) | ||
| regular_sale_amount | decimal(18,3) | ||
| regular_sale_quantity | decimal(18,3) | ||
| circle_sale_amount | decimal(18,3) | ||
| circle_sale_quantity | decimal(18,3) | ||
| mature_sale_amount | decimal(18,3) | ||
| mature_sale_quantity | decimal(18,3) | ||
| comparable_sale_amount | decimal(18,3) | ||
| comparable_sale_quantity | decimal(18,3) | ||
| ad_comparable_sale_amount | decimal(18,3) | ||
| ad_comparable_sale_quantity | decimal(18,3) | ||
| return_guest_amount | decimal(18,3) | ||
| return_guest_quantity | decimal(18,3) | ||
| original_location_id | varchar(256) | ||
| original_reporting_channel | varchar(256) | ||
| original_origination_channel | varchar(256) | ||
| shipt_app_sale_a | decimal(18,3) | ||
| shipt_app_sale_q | decimal(18,3) | ||
| shipt_target_sale_a | decimal(18,3) | ||
| shipt_target_sale_q | decimal(18,3) | ||
| brand_id | varchar(256) | ||
| brand_name | varchar(1024) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
daily_inventory66 columns · Inventoryshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| business_d | date | ||
| primary_vendor_id | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| item_id | varchar(256) | ||
| dpci | varchar(256) | ||
| manufacturer_style | varchar(256) | ||
| item_description | varchar(1024) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| beginning_on_hand_a | decimal(18,3) | ||
| beginning_on_hand_q | decimal(18,3) | ||
| ending_on_hand_a | decimal(18,3) | ||
| ending_on_hand_q | decimal(18,3) | ||
| beginning_on_transfer_a | decimal(18,3) | ||
| beginning_on_transfer_q | decimal(18,3) | ||
| ending_on_transfer_a | decimal(18,3) | ||
| ending_on_transfer_q | decimal(18,3) | ||
| beginning_on_purchase_a | decimal(18,3) | ||
| beginning_on_purchase_q | decimal(18,3) | ||
| ending_on_purchase_a | decimal(18,3) | ||
| ending_on_purchase_q | decimal(18,3) | ||
| instock_q | decimal(18,3) | ||
| instock_percentage | decimal(18,3) | ||
| out_of_stock_q | decimal(18,3) | ||
| out_of_stock_percentage | decimal(18,3) | ||
| non_pog_instock_q | decimal(18,3) | ||
| non_pog_instock_percentage | decimal(18,3) | ||
| non_pog_out_of_stock_q | decimal(18,3) | ||
| non_pog_out_of_stock_percentage | decimal(18,3) | ||
| pog_instock_q | decimal(18,3) | ||
| pog_instock_percentage | decimal(18,3) | ||
| pog_out_of_stock_q | decimal(18,3) | ||
| pog_out_of_stock_percentage | decimal(18,3) | ||
| tracked_item_q | decimal(18,3) | ||
| non_pog_tracked_item_q | decimal(18,3) | ||
| pog_tracked_item_q | decimal(18,3) | ||
| ship_exclusion_item_location_q | decimal(18,3) | ||
| ship_exclusion_out_of_stock_item_location_q | decimal(18,3) | ||
| ship_out_of_stock_item_location_q | decimal(18,3) | ||
| ship_tracked_item_location_q | decimal(18,3) | ||
| tracked_item_out_of_stock_q | decimal(18,3) | ||
| order_to_level_q | decimal(18,3) | ||
| order_point_q | decimal(18,3) | ||
| lead_time_days_q | decimal(18,3) | ||
| review_time_days_q | decimal(18,3) | ||
| safety_stock_q | decimal(18,3) | ||
| reorder_frequency_q | decimal(18,3) | ||
| final_presentation_minimum_a | decimal(18,3) | ||
| final_presentation_minimum_q | decimal(18,3) | ||
| sales_volume_adjustment_q | decimal(18,3) | ||
| presentation_beginning_of_period_q | decimal(18,3) | ||
| presentation_ending_of_period_q | decimal(18,3) | ||
| policy_order_below_q | decimal(18,3) | ||
| demand_curve_coverage_q | decimal(18,3) | ||
| excluded_item_q | decimal(18,3) | ||
| excluded_item_out_of_stock_q | decimal(18,3) | ||
| walk_in_purchasability_percentage | decimal(18,3) | ||
| walk_in_purchasable_item_locs_tracked | varchar(256) | ||
| brand_id | varchar(256) | ||
| brand_name | varchar(1024) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
weekly_inventory61 columns · Inventoryshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| business_d | date | ||
| primary_vendor_id | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| item_id | varchar(256) | ||
| dpci | varchar(256) | ||
| manufacturer_style | varchar(256) | ||
| item_description | varchar(1024) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| beginning_on_hand_a | decimal(18,3) | ||
| beginning_on_hand_q | decimal(18,3) | ||
| ending_on_hand_a | decimal(18,3) | ||
| ending_on_hand_q | decimal(18,3) | ||
| beginning_on_transfer_a | decimal(18,3) | ||
| beginning_on_transfer_q | decimal(18,3) | ||
| ending_on_transfer_a | decimal(18,3) | ||
| ending_on_transfer_q | decimal(18,3) | ||
| beginning_on_purchase_a | decimal(18,3) | ||
| beginning_on_purchase_q | decimal(18,3) | ||
| ending_on_purchase_a | decimal(18,3) | ||
| ending_on_purchase_q | decimal(18,3) | ||
| instock_q | decimal(18,3) | ||
| instock_percentage | decimal(18,3) | ||
| out_of_stock_q | decimal(18,3) | ||
| out_of_stock_percentage | decimal(18,3) | ||
| non_pog_instock_q | decimal(18,3) | ||
| non_pog_instock_percentage | decimal(18,3) | ||
| non_pog_out_of_stock_q | decimal(18,3) | ||
| non_pog_out_of_stock_percentage | decimal(18,3) | ||
| pog_instock_q | decimal(18,3) | ||
| pog_instock_percentage | decimal(18,3) | ||
| pog_out_of_stock_q | decimal(18,3) | ||
| pog_out_of_stock_percentage | decimal(18,3) | ||
| tracked_item_q | decimal(18,3) | ||
| non_pog_tracked_item_q | decimal(18,3) | ||
| pog_tracked_item_q | decimal(18,3) | ||
| ship_exclusion_item_location_q | decimal(18,3) | ||
| ship_exclusion_out_of_stock_item_location_q | decimal(18,3) | ||
| ship_out_of_stock_item_location_q | decimal(18,3) | ||
| ship_tracked_item_location_q | decimal(18,3) | ||
| tracked_item_out_of_stock_q | decimal(18,3) | ||
| final_presentation_minimum_a | decimal(18,3) | ||
| final_presentation_minimum_q | decimal(18,3) | ||
| sales_volume_adjustment_q | decimal(18,3) | ||
| item_locations_base_count | decimal(18,3) | ||
| presentation_beginning_of_period_q | decimal(18,3) | ||
| presentation_ending_of_period_q | decimal(18,3) | ||
| policy_order_below_q | decimal(18,3) | ||
| demand_curve_coverage_q | decimal(18,3) | ||
| excluded_item_q | decimal(18,3) | ||
| excluded_item_out_of_stock_q | decimal(18,3) | ||
| walk_in_purchasability_percentage | decimal(18,3) | ||
| walk_in_purchasable_item_locs_tracked | varchar(256) | ||
| brand_id | varchar(256) | ||
| brand_name | varchar(1024) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
daily_orders52 columns · Orders & planningshow in diagram
Primary key: key_id
| Column | Type | Key | Description |
|---|---|---|---|
| snapshot_d | date | ||
| purchase_order_create_d | date | ||
| purchase_order_id | varchar(256) | ||
| purchase_order_active_f | varchar(256) | ||
| import_order_f | varchar(256) | ||
| vendor_id | varchar(256) | ||
| upc | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| item_id | varchar(256) | ||
| dpci | varchar(256) | ||
| vendor_style_id | varchar(256) | ||
| product_description | varchar(1024) | ||
| receiving_location_id | varchar(256) | ||
| receiving_location_type_c | varchar(256) | ||
| original_order_q | decimal(18,3) | ||
| revised_order_q | decimal(18,3) | ||
| cancel_remaining_order_q | decimal(18,3) | ||
| vendor_casepack_q | decimal(18,3) | ||
| store_shippack_q | decimal(18,3) | ||
| item_assortment_f | varchar(256) | ||
| item_change_d | date | ||
| original_ship_begin_d | date | ||
| original_ship_end_d | date | ||
| revised_ship_begin_d | date | ||
| revised_ship_end_d | date | ||
| original_estimated_arrival_d | date | ||
| revised_estimated_arrival_d | date | ||
| imports_in_store_d | date | ||
| receipt_d | date | ||
| item_received_total_cost_a | decimal(18,3) | ||
| item_received_total_retail_a | decimal(18,3) | ||
| item_received_q | decimal(18,3) | ||
| purchase_order_cancel_d | date | ||
| purchase_order_canceled_f | varchar(256) | ||
| early_ship_daily_received_q | decimal(18,3) | ||
| on_order_1_week_out_q | decimal(18,3) | ||
| on_order_2_week_out_q | decimal(18,3) | ||
| on_order_3_week_out_q | decimal(18,3) | ||
| on_order_4_8_week_out_q | decimal(18,3) | ||
| on_order_9_week_out_q | decimal(18,3) | ||
| carry_over_original_eta_q | decimal(18,3) | ||
| carry_over_revised_eta_q | decimal(18,3) | ||
| brand_id | varchar(256) | ||
| brand_n | varchar(1024) | ||
| key_idPrimary key. | varchar(256) | PK | Primary key. |
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idRow hash: md5(file | row number). | varchar(32) | Row hash: md5(file | row number). | |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
item_loc_forecast_weekly16 columns · Orders & planningshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| last_update_d | date | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| dpci | varchar(256) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| selected_forecast_q | decimal(18,3) | ||
| vendor_id | varchar(256) | ||
| fiscal_week_begin_d | date | ||
| brand_n | varchar(1024) | ||
| brand_id | varchar(256) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
po_planning_item_dc27 columns · Orders & planningshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| business_d | date | ||
| vendor_id | varchar(256) | ||
| vendor_order_point_id | varchar(256) | ||
| department_id | varchar(256) | ||
| dpci | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| barcode_number | varchar(256) | ||
| order_d | date | ||
| receiving_location_id | varchar(256) | ||
| unit_of_measure_q | decimal(18,3) | ||
| unit_of_measure_type | varchar(256) | ||
| vendor_case_pack_q | decimal(18,3) | ||
| net_store_mean_demand_q | decimal(18,3) | ||
| ordered_q | decimal(18,3) | ||
| received_q | decimal(18,3) | ||
| scheduled_receipt_q | decimal(18,3) | ||
| beginning_salesfloor_presentation_unit_q | decimal(18,3) | ||
| ending_salesfloor_presentation_unit_q | decimal(18,3) | ||
| total_order_cost_a | decimal(18,3) | ||
| product_cost_a | decimal(18,3) | ||
| initial_store_inventory_q | decimal(18,3) | ||
| purchasing_lead_time_q | decimal(18,3) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
po_plan_daily_tcin23 columns · Orders & planningshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| business_d | date | ||
| vendor_id | varchar(256) | ||
| vendor_order_point_id | varchar(256) | ||
| department_id | varchar(256) | ||
| dpci | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| barcode_number | varchar(256) | ||
| order_d | date | ||
| receiving_location_id | varchar(256) | ||
| unit_of_measure_q | decimal(18,3) | ||
| unit_of_measure_type | varchar(256) | ||
| vendor_case_pack_q | decimal(18,3) | ||
| net_store_mean_demand_q | decimal(18,3) | ||
| ordered_q | decimal(18,3) | ||
| received_q | decimal(18,3) | ||
| scheduled_receipt_q | decimal(18,3) | ||
| beginning_salesfloor_presentation_unit_q | decimal(18,3) | ||
| ending_salesfloor_presentation_unit_q | decimal(18,3) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
weekly_gross_margin46 columns · Marginshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| fiscal_week_end_d | date | ||
| vendor_id | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| item_id | varchar(256) | ||
| dpci | varchar(256) | ||
| channel_originated | varchar(256) | ||
| location_id_originated | varchar(256) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| channel_fulfilled | varchar(256) | ||
| fulfillment_type | varchar(256) | ||
| fulfillment_subtype | varchar(256) | ||
| freight_a | decimal(18,3) | ||
| vendor_income_a | decimal(18,3) | ||
| net_sales_a | decimal(18,3) | ||
| net_sales_q | decimal(18,3) | ||
| clearance_a_markdown_a | decimal(18,3) | ||
| unsaleable_b_markdown_a | decimal(18,3) | ||
| unsaleable_b_markdown_q | decimal(18,3) | ||
| competitor_c_markdown_a | decimal(18,3) | ||
| promotion_d_markdown_a | decimal(18,3) | ||
| employee_discount_a | decimal(18,3) | ||
| ytd_adjusted_gross_margin_a | decimal(18,3) | ||
| misc_other_cost_of_sales | decimal(18,3) | ||
| adjusted_gross_margin_a | decimal(18,3) | ||
| ship_revenue_a | decimal(18,3) | ||
| net_ship_expense_a | decimal(18,3) | ||
| free_ship_discount_a | decimal(18,3) | ||
| net_ship_margin_a | decimal(18,3) | ||
| beg_inventory_retail_a | decimal(18,3) | ||
| beg_inventory_cost_a | decimal(18,3) | ||
| ending_inventory_retail_a | decimal(18,3) | ||
| ending_inventory_cost_a | decimal(18,3) | ||
| cumulative_inventory_retail_a | decimal(18,3) | ||
| cumulative_inventory_cost_a | decimal(18,3) | ||
| return_ship_expense_a | decimal(18,3) | ||
| adjusted_gross_margin_with_net_ship_margin_a | decimal(18,3) | ||
| roundel_ad_revenue_a | decimal(18,3) | ||
| brand_id | varchar(256) | ||
| brand_name | varchar(1024) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
item_master52 columns · Items & storesshow in diagram
Primary key: tcin
| Column | Type | Key | Description |
|---|---|---|---|
| upc | varchar(256) | ||
| tcinPrimary key. Target item number (TCIN). One row per item in the latest item feed. | varchar(256) | PK | Primary key. Target item number (TCIN). One row per item in the latest item feed. |
| dpci | varchar(256) | ||
| item_state | varchar(256) | ||
| description | varchar(1024) | ||
| model_number | varchar(256) | ||
| vendor_id | varchar(256) | ||
| vendor_name | varchar(1024) | ||
| brand_name | varchar(1024) | ||
| brand_type | varchar(256) | ||
| mdse_category | varchar(256) | ||
| group_no | varchar(256) | ||
| group_description | varchar(1024) | ||
| div_no | varchar(256) | ||
| division_description | varchar(1024) | ||
| dept_no | varchar(256) | ||
| dept_description | varchar(1024) | ||
| class_no | varchar(256) | ||
| class_description | varchar(1024) | ||
| subclass_id | varchar(256) | ||
| subclass_description | varchar(1024) | ||
| item_type_name | varchar(1024) | ||
| color_shade | varchar(256) | ||
| gender | varchar(256) | ||
| size | varchar(256) | ||
| package_qty | decimal(18,3) | ||
| package_height | varchar(256) | ||
| package_width | varchar(256) | ||
| package_depth | varchar(256) | ||
| package_weight | varchar(256) | ||
| weight_uom | varchar(256) | ||
| net_content_quantity_code | varchar(256) | ||
| net_content_quantity_value | varchar(256) | ||
| unit_of_measure | varchar(256) | ||
| import_designation | varchar(256) | ||
| launch_date | timestamp | ||
| last_update_date | timestamp | ||
| business_partner_name | varchar(1024) | ||
| return_method | varchar(256) | ||
| parent_tcin | varchar(256) | ||
| is_flammable_flag | varchar(256) | ||
| product_type_name | varchar(256) | ||
| product_sub_type_name | varchar(256) | ||
| item_type_category_type | varchar(256) | ||
| style_code | varchar(256) | ||
| style_name | varchar(1024) | ||
| brand_id | varchar(256) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idRow hash: md5(file | row number). | varchar(32) | Row hash: md5(file | row number). | |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
item_mta23 columns · Items & storesshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| processed_ct_date | date | ||
| launch_utc_date | date | ||
| dpci | varchar(256) | ||
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| item_state | varchar(256) | ||
| mta_id | varchar(256) | ||
| mta_n | varchar(256) | ||
| mta_value_id | varchar(256) | ||
| mta_value_n | varchar(1024) | ||
| mta_value_uom | varchar(256) | ||
| intended_selling_channels_arr | varchar(1024) | ||
| estore_item_status_n | varchar(256) | ||
| primary_vendor_id | varchar(256) | ||
| vendor_n | varchar(256) | ||
| brand_id | varchar(256) | ||
| brand_n | varchar(1024) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
location_attributes33 columns · Items & storesshow in diagram
Primary key: location_number
| Column | Type | Key | Description |
|---|---|---|---|
| location_type | varchar(256) | ||
| location_subtype | varchar(256) | ||
| location_numberPrimary key. Target location (store) number, matching location_id in the sales and inventory feeds. | varchar(256) | PK | Primary key. Target location (store) number, matching location_id in the sales and inventory feeds. |
| location_name | varchar(1024) | ||
| address_1 | varchar(1024) | ||
| address_2 | varchar(1024) | ||
| city | varchar(256) | ||
| state | varchar(256) | ||
| zip_code | varchar(256) | ||
| servicing_rdc | varchar(256) | ||
| servicing_fdc | varchar(256) | ||
| region | varchar(256) | ||
| district | varchar(256) | ||
| group_id | varchar(256) | ||
| store_format | varchar(256) | ||
| last_remodel_date | date | ||
| next_remodel_date | date | ||
| store_size | varchar(256) | ||
| latitude | decimal(18,6) | ||
| longitude | decimal(18,6) | ||
| store_open_date | date | ||
| store_close_date | date | ||
| store_status | varchar(256) | ||
| optical_in_store | varchar(256) | ||
| pharmacy_in_store | varchar(256) | ||
| is_mature_store_f | varchar(256) | ||
| fresh_grocery_available_f | varchar(256) | ||
| mature_store_begin_date | date | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idRow hash: md5(file | row number). | varchar(32) | Row hash: md5(file | row number). | |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
history_sales_weekly47 columns · History backfillshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| sales_date | date | ||
| vendor_id | varchar(256) | ||
| barcode | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| dpci | varchar(256) | ||
| manufacturer_style | varchar(256) | ||
| dept | varchar(256) | ||
| class | varchar(256) | ||
| item_description | varchar(1024) | ||
| origination_channel | varchar(256) | ||
| reporting_channel | varchar(256) | ||
| fulfillment_type | varchar(256) | ||
| drive_up_sale_a | decimal(18,3) | ||
| drive_up_sale_q | decimal(18,3) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| sale_amount | decimal(18,3) | ||
| sale_quantity | decimal(18,3) | ||
| circular_sale_amount | decimal(18,3) | ||
| circular_sale_quantity | decimal(18,3) | ||
| clearance_sale_amount | decimal(18,3) | ||
| clearance_sale_quantity | decimal(18,3) | ||
| promo_sale_amount | decimal(18,3) | ||
| promo_sale_quantity | decimal(18,3) | ||
| regular_sale_amount | decimal(18,3) | ||
| regular_sale_quantity | decimal(18,3) | ||
| circle_sale_amount | decimal(18,3) | ||
| circle_sale_quantity | decimal(18,3) | ||
| mature_sale_amount | decimal(18,3) | ||
| mature_sale_quantity | decimal(18,3) | ||
| comparable_sale_amount | decimal(18,3) | ||
| comparable_sale_quantity | decimal(18,3) | ||
| ad_comparable_sale_amount | decimal(18,3) | ||
| ad_comparable_sale_quantity | decimal(18,3) | ||
| return_guest_amount | decimal(18,3) | ||
| return_guest_quantity | decimal(18,3) | ||
| original_location_id | varchar(256) | ||
| original_reporting_channel | varchar(256) | ||
| original_origination_channel | varchar(256) | ||
| shipt_app_sale_a | decimal(18,3) | ||
| shipt_app_sale_q | decimal(18,3) | ||
| shipt_target_sale_a | decimal(18,3) | ||
| shipt_target_sale_q | decimal(18,3) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
history_gm_weekly44 columns · History backfillshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| fiscal_week_end_date | date | ||
| vendor_id | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| item_id | varchar(256) | ||
| dpci | varchar(256) | ||
| channel_originated | varchar(256) | ||
| location_id_originated | varchar(256) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| channel_fulfilled | varchar(256) | ||
| fulfillment_type | varchar(256) | ||
| fulfillment_subtype | varchar(256) | ||
| freight_a | decimal(18,3) | ||
| vendor_income_a | decimal(18,3) | ||
| net_sales_a | decimal(18,3) | ||
| net_sales_q | decimal(18,3) | ||
| clearance_a_markdown_a | decimal(18,3) | ||
| unsaleable_b_markdown_a | decimal(18,3) | ||
| unsaleable_b_markdown_q | decimal(18,3) | ||
| competitor_c_markdown_a | decimal(18,3) | ||
| promotion_d_markdown_a | decimal(18,3) | ||
| employee_discount_a | decimal(18,3) | ||
| ytd_adjusted_gross_margin_a | decimal(18,3) | ||
| misc_other_cost_of_sales | decimal(18,3) | ||
| adjusted_gross_margin_a | decimal(18,3) | ||
| ship_revenue_a | decimal(18,3) | ||
| net_ship_expense_a | decimal(18,3) | ||
| free_ship_discount_a | decimal(18,3) | ||
| net_ship_margin_a | decimal(18,3) | ||
| beg_inventory_retail_a | decimal(18,3) | ||
| beg_inventory_cost_a | decimal(18,3) | ||
| ending_inventory_retail_a | decimal(18,3) | ||
| ending_inventory_cost_a | decimal(18,3) | ||
| cumulative_inventory_retail_a | decimal(18,3) | ||
| cumulative_inventory_cost_a | decimal(18,3) | ||
| return_ship_expense_a | decimal(18,3) | ||
| adjusted_gross_margin_with_net_ship_margin_a | decimal(18,3) | ||
| roundel_ad_revenue_a | decimal(18,3) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
history_inv_weekly58 columns · History backfillshow in diagram
Primary key: _row_id
| Column | Type | Key | Description |
|---|---|---|---|
| week_end_d | date | ||
| primary_vendor_id | varchar(256) | ||
| tcinReferences item_master.tcin. | varchar(256) | FK | References item_master.tcin. |
| department_id | varchar(256) | ||
| class_id | varchar(256) | ||
| item_id | varchar(256) | ||
| dpci | varchar(256) | ||
| manufacturer_style | varchar(256) | ||
| item_description | varchar(1024) | ||
| location_idReferences location_attributes.location_number. | varchar(256) | FK | References location_attributes.location_number. |
| beginning_on_hand_a | decimal(18,3) | ||
| beginning_on_hand_q | decimal(18,3) | ||
| ending_on_hand_a | decimal(18,3) | ||
| ending_on_hand_q | decimal(18,3) | ||
| beginning_on_transfer_a | decimal(18,3) | ||
| beginning_on_transfer_q | decimal(18,3) | ||
| ending_on_transfer_a | decimal(18,3) | ||
| ending_on_transfer_q | decimal(18,3) | ||
| beginning_on_purchase_a | decimal(18,3) | ||
| beginning_on_purchase_q | decimal(18,3) | ||
| ending_on_purchase_a | decimal(18,3) | ||
| ending_on_purchase_q | decimal(18,3) | ||
| instock_q | decimal(18,3) | ||
| instock_percentage | decimal(18,3) | ||
| out_of_stock_q | decimal(18,3) | ||
| out_of_stock_percentage | decimal(18,3) | ||
| non_pog_instock_q | decimal(18,3) | ||
| non_pog_instock_percentage | decimal(18,3) | ||
| non_pog_out_of_stock_q | decimal(18,3) | ||
| non_pog_out_of_stock_percentage | decimal(18,3) | ||
| pog_instock_q | decimal(18,3) | ||
| pog_instock_percentage | decimal(18,3) | ||
| pog_out_of_stock_q | decimal(18,3) | ||
| pog_out_of_stock_percentage | decimal(18,3) | ||
| tracked_item_q | decimal(18,3) | ||
| non_pog_tracked_item_q | decimal(18,3) | ||
| pog_tracked_item_q | decimal(18,3) | ||
| ship_exclusion_item_location_q | decimal(18,3) | ||
| ship_exclusion_out_of_stock_item_location_q | decimal(18,3) | ||
| ship_out_of_stock_item_location_q | decimal(18,3) | ||
| ship_tracked_item_location_q | decimal(18,3) | ||
| tracked_item_out_of_stock_q | decimal(18,3) | ||
| final_presentation_minimum_a | decimal(18,3) | ||
| final_presentation_minimum_q | decimal(18,3) | ||
| sales_volume_adjustment_q | decimal(18,3) | ||
| presentation_beginning_of_period_q | decimal(18,3) | ||
| presentation_ending_of_period_q | decimal(18,3) | ||
| policy_order_below_q | decimal(18,3) | ||
| demand_curve_coverage_q | decimal(18,3) | ||
| excluded_item_q | decimal(18,3) | ||
| excluded_item_out_of_stock_q | decimal(18,3) | ||
| walk_in_purchasability_percentage | decimal(18,3) | ||
| walk_in_purchasable_item_locs_tracked | varchar(256) | ||
| source_fileThe delivered file this row came from. | varchar(256) | The delivered file this row came from. | |
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _sliceThe slice a delivered file replaces (date, file or "all"). | varchar(256) | The slice a delivered file replaces (date, file or "all"). | |
| _row_idPrimary key. | varchar(32) | PK | Primary key. |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |
files_loaded9 columns · Sync logshow in diagram
One row per Target file seen (loaded, unmapped feed, or skipped BV_ twin of a BR_ feed).
Primary key: file_id
| Column | Type | Key | Description |
|---|---|---|---|
| file_idPrimary key. | varchar(64) | PK | Primary key. |
| name | varchar(256) | ||
| modified | timestamp | ||
| size_bytes | bigint | ||
| feed_table | varchar(64) | ||
| status | varchar(32) | ||
| rows_loaded | bigint | ||
| loaded_atWhen the file was loaded. | timestamp | When the file was loaded. | |
| _jsdata_syncedWhen jsdata last wrote this row. | timestamp | When jsdata last wrote this row. |