在庫レベルの分析
作成対象:
- 初心者
- 中級
- 管理者
- 開発者
- ユーザー
このトピックでは、現在のインベントリに関するインサイトを提供し、レガシーアーキテクチャと新しいアーキテクチャの両方についてクライアントに対する手順を含むダッシュボードを設定する方法について説明します。 Manage Data メニューの Data Warehouse Views オプションがない場合は、従来のアーキテクチャを使用します。 レガシーアーキテクチャを使用している場合は、以下の 計算列手順で指定されたセクションに到達したら、件名 INVENTORY ANALYSIS の 新規サポートリクエスト を送信します。
追跡する列:
指示を追跡する列
-
cataloginventory_stock_item テーブル:
item_id
product_id
qty
-
catalog_product_entity テーブル:
entity_id
sku
created_at
計算される列:
新しいアーキテクチャ
-
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
-
column を選択:
created_at
-
Filters:
- [A]
Ordered products we count
- [A]
-
-
Product's first order date
-
Column type:
Many to One
-
Column equation:
MIN
-
Path:
sales_order_item.product_id => catalog_product_entity.entity_id
-
column を選択:
created_at
-
Filters:
- [A]
Ordered products we count
- [A]
-
-
Seconds since product's most recent order date
-
Column type:
Same Table
-
Column equation:
AGE
-
DATETIME column を選択:
Product's most recent order date
-
-
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
-
column を選択:
qty_ordered
-
Filters:
- [A]
Ordered products we count
- [A]
-
-
Avg products sold per week (all time)
-
Column type:
Same Table
-
Column equation:
CALCULATION
-
Column 入力:
- A:
Product's lifetime number of items sold
- B:
Product's first order date
- A:
-
Datatype:
Decimal
-
定義:
- a が null または B が null の場合は null で、それ以外の場合は round (A::decimal/(extract (epoch from (current_timestamp - B))::decimal/604800.0),2) end
-
-
-
cataloginventory_stock_item テーブル:
-
Sku
-
Column type:
One to Many
-
Column equation:
JOINED_COLUMN
-
Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id
-
column を選択:
sku
-
-
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
-
column を選択:
Product's lifetime number of items sold
-
-
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
-
column を選択:
Seconds since product's most recent order date
-
-
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
-
column を選択:
Avg products sold per week (all time)
-
-
Weeks on hand
-
Column type:
Same Table
-
Column equation:
CALCULATION
-
Column 入力:
- A:
qty
- B:
Avg products sold per week (all time)
- A:
-
Datatype:
Decimal
-
定義:
- a が null または B が null または B = 0.0 の場合、null または round (A::decimal/B,2)終了
-
-
レガシーアーキテクチャ
-
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
-
column を選択:
created_at
-
Filters:
- [A]
Ordered products we count
- [A]
-
-
Product's first order date
-
Column type:
Many to One
-
Column equation:
MIN
-
Path:
sales_order_item.product_id => catalog_product_entity.entity_id
-
column を選択:
created_at
-
Filters:
- [A]
Ordered products we count
- [A]
-
-
Seconds since product's most recent order date
-
Column type:
Same Table
-
Column equation:
AGE
-
DATETIME 列の選択:
Product's most recent order date
-
-
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
-
column を選択:
qty_ordered
-
Filters:
- [A]
Ordered products we count
- [A]
-
-
Avg products sold per week (all time)
- [在庫分析] サポート要求を提出する際に、アナリストによって作成されます
-
-
cataloginventory_stock_item テーブル:
-
Sku
-
Column type:
One to Many
-
Column equation:
JOINED_COLUMN
-
Path:
cataloginventory_stock_item.product_id => catalog_product_entity.entity_id
-
column を選択:
sku
-
-
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
-
column を選択:
Product's lifetime number of items sold
-
-
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
-
column を選択:
Seconds since product's most recent order date
-
-
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
-
column を選択:
Avg products sold per week (all time)
-
-
Weeks on hand
- INVENTORY ANALYSIS サポートのリクエストを送信する際にアナリストによって作成されます
-
指標
指標の手順
-
cataloginventory_stock_item テーブル:
-
Inventory on hand
:このメトリックは、- 合計
qty
順に並べ替えられた列- [ なし ] 列
-
レポート
レポートの手順
-
Inventory on hand by sku
-
Metric:
Inventory on hand
-
Time period:
All time
-
時間間隔:
None
-
Group by:
Sku
Weeks 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
-
時間間隔:
None
-
Group by:
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
-
時間間隔:
None
-
Group by:
Sku
-
Chart type:
Table
-
分析中に質問が発生した場合や、プロフェッショナルサービスチームに依頼したい場合は、 サポートにお問い合わせください。