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

29 lines
546 B
YAML
Raw Permalink Normal View History

2026-05-10 23:12:26 +02:00
name: quotes
table: quotes
grain:
- quote_id
columns:
- name: quote_id
type: number
- name: created_at
type: time
role: time
- name: opportunity_id
type: number
- name: pricebook_id
type: number
- name: rep_id
type: number
- name: status
type: string
joins:
- to: sales_reps
'on': rep_id = sales_reps.rep_id
relationship: many_to_one
- to: pricebooks
'on': pricebook_id = pricebooks.pricebook_id
relationship: many_to_one
- to: opportunities
'on': opportunity_id = opportunities.opportunity_id
relationship: many_to_one