Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| tables_fields:main_tables:aggregator [2020/01/07 01:04] – ↷ Page moved from tables:main_tables:aggregator to tables_fields:main_tables:aggregator lou | tables_fields:main_tables:aggregator [2025/12/17 02:19] (current) – Added columns in the table [Available dataElement values] Mai Inamoto | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ====Available dataElement values==== | ====Available dataElement values==== | ||
| - | ^ Value ^ Comment ^ | + | This table holds aggregated values with different dimensions. For example, some values are aggregated per store, others per store and item, and others per store, item, and yearmonth. |
| - | ^ monthlyConsumption |Sums consumption for each month there is consumption | + | |
| - | ^AMC | Sums all consumption (using dataElement = ' | + | ^ Value ^ StoreID ^ ItemID ^ datetime |
| - | ^ stockConsumption | For every day there is a customer invoice, aggregate consumption| | + | ^ monthlyConsumption |
| - | ^ stockMovement | For every day there is stock movement, sums up supply and subtracts sum of consumption | | + | ^AMC | ✓ | ✓ | - | Sums all consumption (using dataElement = ' |
| - | ^ stockHistory | Reverse ledger (using dataElement = ' | + | ^ stockConsumption |
| - | ^ monthlyDOS| Calculate number of day per month where stock was 0 | | + | ^ stockMovement |
| - | ^ realAMC | Formula for realAMC = Consumption Sum / (Number of Months With Consumption - (totalDOS/ | + | ^ stockHistory |
| + | ^ monthlyDOS| ✓ | ✓ | yearmonth | ||
| + | ^ <del>realAMC</ | ||
| ---- struct data ---- | ---- struct data ---- | ||
| + | pagestatus.status | ||
| ---- | ---- | ||