mycdc/queues/ticketIsTooLittle.yml

36 lines
702 B
YAML
Raw Normal View History

query:
ticket: CALL vn.ticket_setProblemTooLittle(:id)
2024-07-03 10:18:53 +00:00
item: CALL vn.ticket_setProblemTooLittleItemCost(:id)
config: CALL vn.ticket_setProblemTooLittleItemCost(NULL)
includeSchema:
vn:
ticket:
key: id
columns:
- id
- totalWithoutVat
- warehouseFk
events:
- updaterows
sale:
key: ticketFk
scope: ticket
columns:
- id
- ticketFk
- itemFk
- quantity
itemCost:
key: itemFk
scope: item
columns:
- itemFk
- warehouseFk
- cm3delivery
volumeConfig:
scope: config
columns:
- minTicketValue
- minTicketVolume
events:
- updaterows