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/ticketIsTooLittle.yml b/queues/ticketIsTooLittle.yml index 0596b9a..9c94753 100644 --- a/queues/ticketIsTooLittle.yml +++ b/queues/ticketIsTooLittle.yml @@ -1,6 +1,6 @@ query: ticket: CALL vn.ticket_setProblemTooLittle(:id) - item: CALL vn.ticket_setProblemTooLittleItemCost(:itemFk) + item: CALL vn.ticket_setProblemTooLittleItemCost(:id) config: CALL vn.ticket_setProblemTooLittleItemCost(NULL) includeSchema: vn: 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