642 B
642 B
Standard Workflows
Trace Measure
- Locate measure in TMDL.
- Show DAX.
- List dependent measures/tables.
- Extract SQL source from partition.
- Produce explanation.
Trace Deficit / Forecast
- Читай context/06_DEFICIT_FORECAST.md.
- Прогноз → sp_build_deficit_proposal → deficit_proposal.
- deficit_proposal + forecast + inbound → sp_rebuild_stock_plan_by_arrival → stock_plan_by_arrival.
- order_qty = прогноз окна [T .. T+cover); дефицит при net_stock < minAvailable.
Documentation Draft
Structure:
- Purpose
- DAX
- Dependencies
- SQL sources
- Business meaning
- Usage notes