ktx/python/ktx-sl/sources/b2b_saas/pricebook_entries.yaml
2026-05-10 23:51:24 +02:00

20 lines
415 B
YAML

name: pricebook_entries
table: pricebook_entries
grain:
- pricebook_entry_id
columns:
- name: pricebook_entry_id
type: number
- name: list_price
type: number
- name: pricebook_id
type: number
- name: product_id
type: number
joins:
- to: products
'on': product_id = products.product_id
relationship: many_to_one
- to: pricebooks
'on': pricebook_id = pricebooks.pricebook_id
relationship: many_to_one