2 -- @description: Anzeigen des Ertrages pro Position bei Rechnungen und Auftraegen
3 -- @depends: status_history
4 ALTER TABLE ar add column marge_total NUMERIC(15,5);
5 ALTER TABLE ar add column marge_percent NUMERIC(15,5);
7 ALTER TABLE oe add column marge_total NUMERIC(15,5);
8 ALTER TABLE oe add column marge_percent NUMERIC(15,5);
10 ALTER TABLE invoice add column marge_total NUMERIC(15,5);
11 ALTER TABLE invoice add column marge_percent NUMERIC(15,5);
12 ALTER TABLE invoice add column lastcost NUMERIC(15,5);
14 ALTER TABLE orderitems add column marge_total NUMERIC(15,5);
15 ALTER TABLE orderitems add column marge_percent NUMERIC(15,5);
16 ALTER TABLE orderitems add column lastcost NUMERIC(15,5);