change packingConfigFk to String on package model

This commit is contained in:
Pau 2023-01-12 07:10:04 +01:00
parent d9563dd343
commit 0df35432f9
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ try {
for (let i = 0; i < suppliers.suppliers.length; i++) {
console.log(i , 'Querying supplier: ' + suppliers.suppliers[i].SupplierGLN);
vnUtils.getTradeitems(suppliers.suppliers[i].SupplierGLN);
await vnUtils.sleep(250);
await vnUtils.sleep(300);
}
}

View File

@ -7,7 +7,7 @@ const PackageModel = {
autoIncrement: true,
},
packingConfigurationsFk: {
type: Sequelize.INTEGER,
type: Sequelize.STRING,
},
vbnPackageCode: {
type: Sequelize.INTEGER,