ktx/python/ktx-sl/sources/b2b_saas/invoice_lines.yaml

25 lines
453 B
YAML
Raw Permalink Normal View History

2026-05-10 23:12:26 +02:00
name: invoice_lines
table: invoice_lines
grain:
- invoice_line_id
columns:
- name: invoice_line_id
type: number
- name: amount
type: number
- name: invoice_id
type: number
- name: product_id
type: number
- name: quantity
type: string
- name: unit_price
type: number
joins:
- to: products
'on': product_id = products.product_id
relationship: many_to_one
- to: invoices
'on': invoice_id = invoices.invoice_id
relationship: many_to_one