Add prorata_discount
This commit is contained in:
parent
a08fed36c4
commit
fc1365daed
@ -41,3 +41,4 @@ ALTER TABLE llx_facture DROP COLUMN amount;
|
|||||||
-- Rename prospect level on contact
|
-- Rename prospect level on contact
|
||||||
ALTER TABLE llx_socpeople CHANGE fk_prospectcontactlevel fk_prospectlevel varchar(12);
|
ALTER TABLE llx_socpeople CHANGE fk_prospectcontactlevel fk_prospectlevel varchar(12);
|
||||||
|
|
||||||
|
ALTER TABLE llx_facture ADD COLUMN prorata_discount real DEFAULT NULL;
|
||||||
|
|||||||
@ -88,11 +88,13 @@ create table llx_facture
|
|||||||
|
|
||||||
fk_transport_mode integer, -- for intracomm report
|
fk_transport_mode integer, -- for intracomm report
|
||||||
|
|
||||||
|
prorata_discount real DEFAULT NULL, -- % of the prorata discount (to know how to add prorata discount lines for each vat rate in the invoice)
|
||||||
|
|
||||||
situation_cycle_ref smallint, -- situation cycle reference. A key that is similar for all the serie.
|
situation_cycle_ref smallint, -- situation cycle reference. A key that is similar for all the serie.
|
||||||
situation_counter smallint, -- situation counter. The number into the serie: 1, 2, ...
|
situation_counter smallint, -- situation counter. The number into the serie: 1, 2, ...
|
||||||
situation_final smallint, -- 0 by default, 1 it if is the final invoice.
|
situation_final smallint, -- 0 by default, 1 it if is the final invoice.
|
||||||
|
|
||||||
retained_warranty real DEFAULT NULL, -- % of retained warranty
|
retained_warranty real DEFAULT NULL, -- % of the retained warranty (to calculate the amount to pay later)
|
||||||
retained_warranty_date_limit date DEFAULT NULL,
|
retained_warranty_date_limit date DEFAULT NULL,
|
||||||
retained_warranty_fk_cond_reglement integer DEFAULT NULL, -- payment condition of retained warranty
|
retained_warranty_fk_cond_reglement integer DEFAULT NULL, -- payment condition of retained warranty
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user