From 64a883d223276789734aa6f488018819126c35d9 Mon Sep 17 00:00:00 2001 From: Guillermo Bonet Date: Fri, 12 Jul 2024 07:19:15 +0000 Subject: [PATCH 1/8] Actualizar queues/clientRisk.yml --- queues/clientRisk.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/queues/clientRisk.yml b/queues/clientRisk.yml index bdc6c66..eeb15bc 100644 --- a/queues/clientRisk.yml +++ b/queues/clientRisk.yml @@ -1,9 +1,15 @@ query: - ticket: CALL vn.ticket_setRisk(:id) + client: CALL vn.ticket_setRisk(:id) includeSchema: vn: + client: + key: id + columns: + - id + - credit ticket: key: clientFk + scope: client columns: - id - clientFk @@ -12,7 +18,7 @@ includeSchema: - refFk receipt: key: clientFk - scope: ticket + scope: client columns: - payed - clientFk @@ -20,7 +26,7 @@ includeSchema: hedera: tpvTransaction: key: clientFk - scope: ticket + scope: client columns: - clientFk - amount From 50ff440ab5255bacf8ebd07934ddd270be258ce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 2 Aug 2024 10:35:26 +0200 Subject: [PATCH 2/8] fix: refs #7829 Error al calcular problemas --- queues/clientRisk.yml | 5 ----- queues/ticketRisk.yml | 9 ++++++++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/queues/clientRisk.yml b/queues/clientRisk.yml index eeb15bc..6a74902 100644 --- a/queues/clientRisk.yml +++ b/queues/clientRisk.yml @@ -2,11 +2,6 @@ query: client: CALL vn.ticket_setRisk(:id) includeSchema: vn: - client: - key: id - columns: - - id - - credit ticket: key: clientFk scope: client diff --git a/queues/ticketRisk.yml b/queues/ticketRisk.yml index c46bc31..717467b 100644 --- a/queues/ticketRisk.yml +++ b/queues/ticketRisk.yml @@ -1,5 +1,6 @@ query: ticket: CALL vn.ticket_setProblemRisk(:id) + client: CALL vn.ticket_setProblemRiskByClient(:id) includeSchema: vn: ticket: @@ -7,4 +8,10 @@ includeSchema: columns: - id - clientFk - - risk \ No newline at end of file + - risk + client: + key: id + scope: client + columns: + - id + - credit \ No newline at end of file From b242cfefbad767c52cde33ee0f608e60abc26c16 Mon Sep 17 00:00:00 2001 From: guillermo Date: Tue, 27 Aug 2024 15:10:05 +0200 Subject: [PATCH 3/8] Upgrade version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 96a514a..6c0c227 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mycdc", - "version": "0.0.15", + "version": "0.0.16", "author": "Verdnatura Levante SL", "description": "Asynchronous DB calculations reading the binary log", "license": "GPL-3.0", From e74d7b72688515ccba4b2a7fa704fe58718e1b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 30 Aug 2024 13:14:58 +0200 Subject: [PATCH 4/8] fix: refs #7213 problem rounding --- queues/saleRounding.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/queues/saleRounding.yml b/queues/saleRounding.yml index ec1ea41..8281546 100644 --- a/queues/saleRounding.yml +++ b/queues/saleRounding.yml @@ -14,4 +14,13 @@ includeSchema: columns: - id - quantity - - itemFk \ No newline at end of file + - itemFk + buy: + key: id + scope: item + columns: + - id + - itemFk + - grouping + events: + - updaterows \ No newline at end of file From a143aa3ca2b8848e8ba0682ce6b4fd375f0b8bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 30 Aug 2024 13:48:02 +0200 Subject: [PATCH 5/8] fix: refs #7213 problem rounding --- queues/saleRounding.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/queues/saleRounding.yml b/queues/saleRounding.yml index 8281546..258f606 100644 --- a/queues/saleRounding.yml +++ b/queues/saleRounding.yml @@ -16,11 +16,11 @@ includeSchema: - quantity - itemFk buy: - key: id - scope: item - columns: - - id - - itemFk - - grouping - events: - - updaterows \ No newline at end of file + key: id + scope: item + columns: + - id + - itemFk + - grouping + events: + - updaterows \ No newline at end of file From c2f5e72bcc87240896b5de4c582cc41173927ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Fri, 30 Aug 2024 17:13:07 +0200 Subject: [PATCH 6/8] fix: refs #7213 problem rounding --- queues/saleRounding.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/queues/saleRounding.yml b/queues/saleRounding.yml index 258f606..7770238 100644 --- a/queues/saleRounding.yml +++ b/queues/saleRounding.yml @@ -18,9 +18,9 @@ includeSchema: buy: key: id scope: item - columns: - - id - - itemFk - - grouping - events: - - updaterows \ No newline at end of file + columns: + - id + - itemFk + - grouping + events: + - updaterows \ No newline at end of file From dded9c8c4364aefe0152484b6baeb41688a75b19 Mon Sep 17 00:00:00 2001 From: guillermo Date: Tue, 3 Sep 2024 13:35:08 +0200 Subject: [PATCH 7/8] Upgrade version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6c0c227..f2e6810 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mycdc", - "version": "0.0.16", + "version": "0.0.17", "author": "Verdnatura Levante SL", "description": "Asynchronous DB calculations reading the binary log", "license": "GPL-3.0", From 442027ae64419b909b3cff5c4ad8d49cba55af9d Mon Sep 17 00:00:00 2001 From: guillermo Date: Tue, 3 Sep 2024 14:13:21 +0200 Subject: [PATCH 8/8] fix: refs #7213 problem rounding --- package.json | 2 +- queues/saleRounding.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f2e6810..5027bf1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mycdc", - "version": "0.0.17", + "version": "0.0.18", "author": "Verdnatura Levante SL", "description": "Asynchronous DB calculations reading the binary log", "license": "GPL-3.0", diff --git a/queues/saleRounding.yml b/queues/saleRounding.yml index 7770238..7abeef3 100644 --- a/queues/saleRounding.yml +++ b/queues/saleRounding.yml @@ -1,6 +1,7 @@ query: ticket: CALL vn.ticket_setProblemRounding(:id) sale: CALL vn.sale_setProblemRounding(:id) + item: CALL vn.sale_setProblemRoundingByBuy(:id) includeSchema: vn: ticket: