repzo-sap-absjo 1.0.25 → 1.0.26
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.
- package/changelog.md +1 -0
- package/lib/commands/client.js +2 -2
- package/lib/commands/product.js +1 -1
- package/package.json +1 -1
- package/src/commands/client.ts +1 -1
- package/src/commands/product.ts +1 -1
package/changelog.md
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
- [command/price_list] fix bug in priceList-item @maramalshen
|
|
24
24
|
- [actions/**] don't update integration_meta.sync_to_sap_succeeded if it is already true @maramalshen
|
|
25
25
|
- [actions/create_invoice] include item.get_promotion in MEO_Serial & Promotion_Name @maramalshen
|
|
26
|
+
- fix bug in is_matched in client & product @maramalshen
|
|
26
27
|
|
|
27
28
|
### Removed
|
|
28
29
|
|
package/lib/commands/client.js
CHANGED
|
@@ -231,7 +231,7 @@ export const sync_client = async (commandEvent) => {
|
|
|
231
231
|
paymentTerm: paymentTerm ? paymentTerm._id : undefined,
|
|
232
232
|
sv_priceList: priceList ? priceList._id : undefined,
|
|
233
233
|
disabled: sap_client.ACTIVE == "Y" ? false : true,
|
|
234
|
-
payment_type: sap_client.PAYMENTTERM ? "credit" : "cash",
|
|
234
|
+
payment_type: sap_client.PAYMENTTERM ? "credit" : "cash",
|
|
235
235
|
integrated_client_balance:
|
|
236
236
|
client_credit_consumed && Math.round(client_credit_consumed * 1000),
|
|
237
237
|
};
|
|
@@ -366,7 +366,7 @@ const is_matched = (body_1, body_2) => {
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
for (let i = 0; i < integration_meta_keys.length; i++) {
|
|
369
|
-
const key =
|
|
369
|
+
const key = integration_meta_keys[i];
|
|
370
370
|
if (
|
|
371
371
|
((_d =
|
|
372
372
|
(_c =
|
package/lib/commands/product.js
CHANGED
package/package.json
CHANGED
package/src/commands/client.ts
CHANGED
|
@@ -351,7 +351,7 @@ const is_matched = (
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
for (let i = 0; i < integration_meta_keys.length; i++) {
|
|
354
|
-
const key =
|
|
354
|
+
const key = integration_meta_keys[i];
|
|
355
355
|
if (
|
|
356
356
|
body_1?.integration_meta?.[key]?.toString() !==
|
|
357
357
|
body_2?.integration_meta?.[key]?.toString()
|
package/src/commands/product.ts
CHANGED
|
@@ -368,7 +368,7 @@ const is_matched = (
|
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
for (let i = 0; i < integration_meta_keys.length; i++) {
|
|
371
|
-
const key =
|
|
371
|
+
const key = integration_meta_keys[i];
|
|
372
372
|
if (
|
|
373
373
|
body_1?.integration_meta?.[key]?.toString() !==
|
|
374
374
|
body_2?.integration_meta?.[key]?.toString()
|