feat: Introduce getProductRows API and related types for fetching and processing comprehensive product data, incorporating sales, stock, and classification.

This commit is contained in:
Michael committed 2026-03-18 19:31:16 +01:00
1 parent 8986f7d001
commit d616da8b91
2 files changed
+17 -7

No files matched your search

+3 -1
View File
@@ -48,8 +48,10 @@ export interface ProductRow {
codeGammeDraft: GammeCode | null;
/** 12-month sales quantities, indexed by YYYYMM key */
sales12m: Record<string, number>;
/** End-of-month stock levels, indexed by YYYYMM key (reconstructed from movements qtestock) */
/** End-of-month stock levels, indexed by YYYYMM key */
stock12m: Record<string, number>;
/** Monthly reception quantities, indexed by YYYYMM key */
receptions12m: Record<string, number>;
totalQuantite: number;
totalCa: number;
totalMarge: number;