repzo-sap-absjo 1.0.55 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -194,7 +194,7 @@ export const adjust_inventory = async (commandEvent) => {
194
194
  // );
195
195
  throw `MeasureUnit with UNITNAME: ${sap_item.UNITNAME} & ALTUOMID: ${sap_item.UNITID} was not found`;
196
196
  }
197
- const qty = measureUnit.factor * sap_item.QTY;
197
+ const qty = sap_item.QTY; //* measureUnit.factor *;
198
198
  const match_item_in_repzo_inventory =
199
199
  (_c =
200
200
  repzo_inventory === null || repzo_inventory === void 0
@@ -394,7 +394,7 @@ export const adjust_inventory = async (commandEvent) => {
394
394
  // );
395
395
  throw `MeasureUnit with UNITNAME: ${sap_item.UNITNAME} & ALTUOMID: ${sap_item.UNITID} was not found`;
396
396
  }
397
- const qty = measureUnit.factor * sap_item.QTY;
397
+ const qty = sap_item.QTY; //* measureUnit.factor
398
398
  const match_item_in_repzo_inventory =
399
399
  (_c =
400
400
  repzo_inventory === null || repzo_inventory === void 0
@@ -486,7 +486,7 @@ export const sync_price_list = async (commandEvent) => {
486
486
  : repzo_product_uom.factor) == 1
487
487
  ? Math.ceil(item.PLITEMPRICEVALUE * 1000)
488
488
  : Math.ceil(
489
- (item.PLITEMPRICEVALUE * 1000) / repzo_product_uom.factor
489
+ item.PLITEMPRICEVALUE * 1000 // / repzo_product_uom.factor // @changed to unipal
490
490
  );
491
491
  const variant =
492
492
  (_u =
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "repzo-sap-absjo",
3
3
  "description": "repzo SAP ABS jo integration",
4
- "version": "1.0.55",
4
+ "version": "1.0.57",
5
5
  "homepage": "",
6
6
  "keywords": [],
7
7
  "author": {
@@ -160,7 +160,7 @@ export const adjust_inventory = async (commandEvent: CommandEvent) => {
160
160
  throw `MeasureUnit with UNITNAME: ${sap_item.UNITNAME} & ALTUOMID: ${sap_item.UNITID} was not found`;
161
161
  }
162
162
 
163
- const qty = measureUnit.factor * sap_item.QTY;
163
+ const qty = sap_item.QTY; //* measureUnit.factor *;
164
164
 
165
165
  const match_item_in_repzo_inventory =
166
166
  repzo_inventory?.data?.find(
@@ -294,7 +294,7 @@ export const adjust_inventory = async (commandEvent: CommandEvent) => {
294
294
  throw `MeasureUnit with UNITNAME: ${sap_item.UNITNAME} & ALTUOMID: ${sap_item.UNITID} was not found`;
295
295
  }
296
296
 
297
- const qty = measureUnit.factor * sap_item.QTY;
297
+ const qty = sap_item.QTY; //* measureUnit.factor
298
298
 
299
299
  const match_item_in_repzo_inventory = repzo_inventory?.data?.find(
300
300
  (repzo_item) =>
@@ -346,7 +346,7 @@ export const sync_price_list = async (commandEvent: CommandEvent) => {
346
346
  repzo_product_uom && repzo_product_uom?.factor == 1
347
347
  ? Math.ceil(item.PLITEMPRICEVALUE * 1000)
348
348
  : Math.ceil(
349
- (item.PLITEMPRICEVALUE * 1000) / repzo_product_uom.factor
349
+ item.PLITEMPRICEVALUE * 1000 // / repzo_product_uom.factor // @changed to unipal
350
350
  );
351
351
 
352
352
  const variant = repzo_product?.variants?.find(