Files
vending_data_intelligence_r…/run.bat
Claude Agent 7afacd6664 Raport stocuri marfa 371 pe vechimi (dosar credit banca)
Sectiune dedicata pentru banca cu sumar pe grupe x bucket vechime
(0-6 luni, 6-12 luni, 1-2 ani, 2-3 ani, >3 ani), detaliu articole
si reconciliere contra sold contabil 371 din balanta (vbal).

- queries.py: STOCURI_371_SUMAR (ROLLUP grupa/subgrupa), STOCURI_371_DETALIU,
  STOCURI_371_SOLD_CONTABIL (sold sintetic din vbal, an/luna snapshot).
  Filtru stoc (cants+cant-cante) <> 0 pentru acoperire cu soldul contabil.
- main.py: CLI --aging-dates pentru evolutie multi-data a stocului >3 ani,
  pagina PDF dedicata cu nota metodologica + reconciliere (marker la diff >1%).
- recommendations.py: alerta CONCENTRARE cand stoc 371 >3 ani depaseste prag.
- config.py: threshold aged_stock_371_pct (default 15%).
- run.bat: header documentar cu argumentele disponibile + exemple.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 15:34:14 +00:00

24 lines
1.1 KiB
Batchfile

@echo off
REM =============================================================================
REM Data Intelligence Report Generator - ROMFAST
REM =============================================================================
REM
REM Argumente disponibile:
REM --months N Numar luni pentru analiza (default: 12)
REM --end-month YYYY-MM Luna finala de raportare (default: luna precedenta)
REM Ex: --end-month 2025-12
REM --aging-dates LIST Lista YYYY-MM pentru evolutie stoc 371 >3 ani
REM Ex: --aging-dates 2022-12,2023-12,2024-12,2025-12
REM --output-dir PATH Director output (default: ./output)
REM
REM Exemple:
REM run.bat (raport standard)
REM run.bat --end-month 2025-12 (raport dosar banca)
REM run.bat --end-month 2025-12 --aging-dates 2022-12,2023-12,2024-12,2025-12
REM (raport dosar banca + trend)
REM =============================================================================
cd /d "%~dp0"
call .venv\Scripts\activate.bat
python main.py %*