diff --git a/package.json b/package.json index 96a514a..5027bf1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mycdc", - "version": "0.0.15", + "version": "0.0.18", "author": "Verdnatura Levante SL", "description": "Asynchronous DB calculations reading the binary log", "license": "GPL-3.0", diff --git a/queues/clientRisk.yml b/queues/clientRisk.yml index bdc6c66..6a74902 100644 --- a/queues/clientRisk.yml +++ b/queues/clientRisk.yml @@ -1,9 +1,10 @@ query: - ticket: CALL vn.ticket_setRisk(:id) + client: CALL vn.ticket_setRisk(:id) includeSchema: vn: ticket: key: clientFk + scope: client columns: - id - clientFk @@ -12,7 +13,7 @@ includeSchema: - refFk receipt: key: clientFk - scope: ticket + scope: client columns: - payed - clientFk @@ -20,7 +21,7 @@ includeSchema: hedera: tpvTransaction: key: clientFk - scope: ticket + scope: client columns: - clientFk - amount diff --git a/queues/saleRounding.yml b/queues/saleRounding.yml index ec1ea41..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: @@ -14,4 +15,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 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