mycdc/queues/stock.yml

76 lines
1.4 KiB
YAML

query:
travel: CALL stock.buyOut_refreshBuy('travel', :id)
entry: CALL stock.buyOut_refreshBuy('entry', :id)
buy: CALL stock.buyOut_refreshBuy('lot', :id)
ticket: CALL stock.buyOut_refreshSale('ticket', :id)
sale: CALL stock.buyOut_refreshSale('lot', :id)
order: CALL stock.buyOut_refreshOrder('order', :id)
orderRow: CALL stock.buyOut_refreshOrder('lot', :id)
includeSchema:
vn:
travel:
key: id
columns:
- id
- availabled
- shipped
- warehouseInFk
- warehouseOutFk
- isReceived
events:
- updaterows
entry:
key: id
columns:
- id
- travelFk
- isExcludedFromAvailable
events:
- updaterows
buy:
key: lotFk
columns:
- lotFk
- entryFk
- itemFk
- quantity
- life
- isAlive
- created
ticket:
key: id
columns:
- id
- warehouseFk
- shipped
- isAlive
events:
- updaterows
sale:
key: lotFk
columns:
- lotFk
- ticketFk
- itemFk
- quantity
- created
hedera:
order:
key: id
columns:
- id
- confirmed
events:
- updaterows
orderRow:
key: lotFk
columns:
- lotFk
- orderFk
- itemFk
- warehouseFk
- shipment
- amount
- created
- isReserved