refactor(manifestLines): standardize on taxrate and change schema type to float

This commit is contained in:
seb
2026-09-17 11:02:44 +02:00
parent 5a7773df79
commit 1fafeeb5f2
20 changed files with 53 additions and 55 deletions

View File

@@ -579,7 +579,7 @@ BEGIN
net FLOAT NOT NULL,
comment NVARCHAR(MAX) NULL,
rebate FLOAT NOT NULL CONSTRAINT DF_manifestarticle_rebate DEFAULT 0,
taxrate DECIMAL(18,4) NOT NULL CONSTRAINT DF_manifestarticle_taxrate DEFAULT 0,
taxrate FLOAT NOT NULL CONSTRAINT DF_manifestarticle_taxrate DEFAULT 0,
CONSTRAINT FK_manifestarticle_manifest FOREIGN KEY (manifest_id) REFERENCES manifest(id) ON DELETE CASCADE
);
END