change packingConfigFk to String on package model
This commit is contained in:
parent
d9563dd343
commit
0df35432f9
2
index.js
2
index.js
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ const PackageModel = {
|
|||
autoIncrement: true,
|
||||
},
|
||||
packingConfigurationsFk: {
|
||||
type: Sequelize.INTEGER,
|
||||
type: Sequelize.STRING,
|
||||
},
|
||||
vbnPackageCode: {
|
||||
type: Sequelize.INTEGER,
|
||||
|
|
Loading…
Reference in New Issue