mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-13 11:22:11 +02:00
Initial open-source release
This commit is contained in:
commit
1a42152e6f
1199 changed files with 257054 additions and 0 deletions
24
python/klo-sl/sources/b2b_saas/invoice_lines.yaml
Normal file
24
python/klo-sl/sources/b2b_saas/invoice_lines.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue