feat: add stat_dispoperm and phenix_quantite_conseille to sync pipeline
- Add ARTCENTRALE column to articles sync - Add stat_dispoperm table (gamme conseillée, joins via ARTCENTRALE) - Add phenix_quantite_conseille table (journal de commande ERP) - Register both tables in sync/index.js steps Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
c5faddde1f
commit
52c47acc67
5 files changed
+129
-3
No files matched your search
+5
-1
@@ -8,6 +8,8 @@ const { syncMouvements, syncStatOpCA } = require('./tables/mouvements');
|
||||
const { syncCommandes } = require('./tables/commandes');
|
||||
const { syncReferentiel } = require('./tables/referentiel');
|
||||
const { syncRanking } = require('./tables/ranking');
|
||||
const { syncStatDispoperm } = require('./tables/stat_dispoperm');
|
||||
const { syncPhenixQuantiteConseille } = require('./tables/phenix_quantite_conseille');
|
||||
const { closeAll } = require('./db');
|
||||
const {
|
||||
startDashboard, registerSyncFn,
|
||||
@@ -26,7 +28,9 @@ const STEPS = [
|
||||
{ name: 'mouvements', fn: syncMouvements },
|
||||
{ name: 'statopca', fn: syncStatOpCA },
|
||||
{ name: 'commandes', fn: syncCommandes },
|
||||
{ name: 'ranking', fn: syncRanking },
|
||||
{ name: 'ranking', fn: syncRanking },
|
||||
{ name: 'stat_dispoperm', fn: syncStatDispoperm },
|
||||
{ name: 'phenix_quantite_conseille', fn: syncPhenixQuantiteConseille },
|
||||
];
|
||||
|
||||
async function syncAll(force = false) {
|
||||
|
||||
Reference in new issue
Block a user