Optimize order import with improved tax info retrieval and performance

This commit is contained in:
2025-01-29 18:21:31 -05:00
parent 4d8a677c5b
commit fb5bf4a144
2 changed files with 70 additions and 30 deletions

View File

@@ -10,8 +10,8 @@ const importPurchaseOrders = require('./import/purchase-orders');
dotenv.config({ path: path.join(__dirname, "../.env") });
// Constants to control which imports run
const IMPORT_CATEGORIES = true;
const IMPORT_PRODUCTS = true;
const IMPORT_CATEGORIES = false;
const IMPORT_PRODUCTS = false;
const IMPORT_ORDERS = true;
const IMPORT_PURCHASE_ORDERS = true;