They are mostly the same as invoices, but the contact and payment method are optional, thus, like other optionals fields, i created relations to link these that have payment method or contact, to avoid NULL columns in quote. Still missing functions to add and edit quotations, and views to compute their tax and total amount.
11 lines
156 B
PL/PgSQL
11 lines
156 B
PL/PgSQL
-- Verify numerus:quote_product_product on pg
|
|
|
|
begin;
|
|
|
|
select quote_product_id
|
|
, product_id
|
|
from numerus.quote_product_product
|
|
where false;
|
|
|
|
rollback;
|