51 lines
926 B
YAML
51 lines
926 B
YAML
query:
|
|
ticket: CALL vn.ticket_recalc(:id, NULL)
|
|
client: CALL vn.ticket_recalcByScope('client', :id)
|
|
address: CALL vn.ticket_recalcByScope('address', :id)
|
|
item: CALL vn.ticket_recalcByScope('item', :id)
|
|
includeSchema:
|
|
vn:
|
|
ticket:
|
|
key: id
|
|
columns:
|
|
- id
|
|
- clientFk
|
|
- addressFk
|
|
- companyFk
|
|
- shipped
|
|
events:
|
|
- updaterows
|
|
ticketService:
|
|
key: ticketFk
|
|
scope: ticket
|
|
columns:
|
|
- ticketFk
|
|
- price
|
|
- quantity
|
|
sale:
|
|
key: ticketFk
|
|
scope: ticket
|
|
columns:
|
|
- id
|
|
- ticketFk
|
|
- itemFk
|
|
- quantity
|
|
- price
|
|
- discount
|
|
client:
|
|
key: id
|
|
columns:
|
|
- provinceFk
|
|
- isVies
|
|
address:
|
|
key: id
|
|
columns:
|
|
- isEqualizated
|
|
itemTaxCountry:
|
|
key: itemFk
|
|
scope: item
|
|
columns:
|
|
- itemFk
|
|
- countryFk
|
|
- taxClassFk
|