Analizza livelli scorte
In questo argomento viene illustrato come impostare un dashboard che fornisca informazioni approfondite sull'inventario corrente e contenga istruzioni per i client sia sull'architettura legacy che sulla nuova architettura. Se non si dispone dell'opzione Data Warehouse Views nel menu Manage Data, si utilizza l'architettura precedente. Se ti trovi nell'architettura legacy, invia una nuova richiesta di supporto con oggetto INVENTORY ANALYSIS una volta raggiunta la sezione designata nelle istruzioni Colonne calcolate di seguito.
Colonne da tracciare:
Colonne per tenere traccia delle istruzioni
-
Tabella cataloginventory_stock_item:
item_idproduct_idqty
-
Tabella catalog_product_entity:
entity_idskucreated_at
Colonne calcolate:
-
Tabella catalog_product_entity:
-
Product's most recent order date- Column type:
Many to One -
Column equation:MAX - Path:
sales_order_item.product_id => catalog_product_entity.entity_id - Seleziona column:
created_at - Filters:
- [A]
Ordered products we count
- [A]
- Column type:
-
Product's first order date- Column type:
Many to One -
Column equation:MIN - Path:
sales_order_item.product_id => catalog_product_entity.entity_id - Seleziona column:
created_at - Filters:
- [A]
Ordered products we count
- [A]
- Column type:
-
Seconds since product's most recent order date- Column type:
Same Table -
Column equation:AGE - Seleziona DATETIME column:
Product's most recent order date
- Column type:
-
Product's lifetime number of items sold- Column type:
Many to One -
Column equation:SUM - Path:
sales_order_item.product_id => catalog_product_entity.entity_id - Seleziona column:
qty_ordered - Filters:
- [A]
Ordered products we count
- [A]
- Column type:
-
Avg products sold per week (all time)-
Column type:
Same Table -
Column equation:CALCULATION -
Column input:
- R:
Product's lifetime number of items sold - B:
Product's first order date
- R:
-
Datatype:Decimal -
Definizione:
- caso in cui A è nullo o B è nullo allora null altro round(A::decimal/(extract(epoch from (current_timestamp - B))::decimal/604800.0),2) end
-
-
-
Tabella cataloginventory_stock_item:
-
Sku- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
sku
- Column type:
-
Product's lifetime number of items sold- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
Product's lifetime number of items sold
- Column type:
-
Seconds since product's most recent order date- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
Seconds since product's most recent order date
- Column type:
-
Avg products sold per week (all time)- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
Avg products sold per week (all time)
- Column type:
-
Weeks on hand-
Column type:
Same Table -
Column equation:CALCULATION -
Column input:
- R:
qty - B:
Avg products sold per week (all time)
- R:
-
Datatype:Decimal -
Definizione:
- caso in cui A è null o B è null o B = 0.0, quindi null altro round(A::decimal/B,2) end
-
-
-
Tabella catalog_product_entity:
-
Product's most recent order date- Column type:
Many to One -
Column equation:MAX - Path:
sales_order_item.product_id => catalog_product_entity.entity_id - Seleziona column:
created_at - Filters:
- [A]
Ordered products we count
- [A]
- Column type:
-
Product's first order date- Column type:
Many to One -
Column equation:MIN - Path:
sales_order_item.product_id => catalog_product_entity.entity_id - Seleziona column:
created_at - Filters:
- [A]
Ordered products we count
- [A]
- Column type:
-
Seconds since product's most recent order date- Column type:
Same Table -
Column equation:AGE - Seleziona colonna DATETIME:
Product's most recent order date
- Column type:
-
Product's lifetime number of items sold- Column type:
Many to One -
Column equation:SUM - Path:
sales_order_item.product_id => catalog_product_entity.entity_id - Seleziona column:
qty_ordered - Filters:
- [A]
Ordered products we count
- [A]
- Column type:
-
Avg products sold per week (all time)- Creato da un analista quando si invia la richiesta di supporto per [INVENTORY ANALYSIS]
-
-
Tabella cataloginventory_stock_item:
-
Sku- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
sku
- Column type:
-
Product's lifetime number of items sold- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
Product's lifetime number of items sold
- Column type:
-
Seconds since product's most recent order date- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
Seconds since product's most recent order date
- Column type:
-
Avg products sold per week (all time)- Column type:
One to Many -
Column equation:JOINED_COLUMN - Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id - Seleziona column:
Avg products sold per week (all time)
- Column type:
-
Weeks on hand- Creato da un analista quando si invia la richiesta di supporto di INVENTORY ANALYSIS
-
Metriche
Istruzioni sulle metriche
-
Tabella cataloginventory_stock_item:
-
Inventory on hand: questa metrica esegue un- Somma sul
qtycolonna ordinata dal- [Nessuna] colonna
-
Rapporti
Istruzioni per il rapporto
-
Inventory on hand by sku-
Metric:
Inventory on hand -
Time period:
All time -
Intervallo di tempo:
None -
Group by:
SkuWeeks on hand
-
Chart type:Table
-
-
Inventory with less than 2 weeks on hand (order now)-
Metric:
Inventory on hand- Filters:
- [A]
Weeks on hand< 2
- [A]
- Filters:
-
Time period:
All time -
Intervallo di tempo:
None -
Raggruppa per:Sku -
Chart type:Table
-
-
Inventory with more than 26 weeks on hand (put on sale)-
Metric:
Inventory on hand- Filters:
- [A]
Weeks on hand> 26
- [A]
- Filters:
-
Time period:
All time -
Intervallo di tempo:
None -
Raggruppa per:Sku -
Chart type:Table
-
Per qualsiasi domanda durante la creazione di questa analisi, o semplicemente per coinvolgere il team Professional Services, contatta il supporto.