AASA#23158: MLD: Handmatige offerteafhandeling (RFQ niet te accepteren).

svn path=/Database/trunk/; revision=11333
This commit is contained in:
Maykel Geerdink
2012-05-23 06:34:12 +00:00
parent 0956bfc27e
commit 9e6663e596

View File

@@ -56,7 +56,10 @@ CREATE_TABLE(mld_disc_params, 0)
NUMBER(1),
mld_disc_params_bestellimiet
NUMBER(8,2)
DEFAULT 100000
DEFAULT 100000,
mld_disc_params_offerteauto -- Automatische offerteafhandeling Ja/Nee(1/0)
NUMBER(1)
DEFAULT 1
);
@@ -288,9 +291,6 @@ CREATE_TABLE(mld_stdmelding,0)
mld_stdmelding_opdrtypevast -- 0: standaard opdrachttype
NUMBER(1) -- 1: verplicht opdrachttype
DEFAULT 0,
mld_stdmelding_offerteauto -- Automatische offerteafhandeling Ja/Nee(1/0)
NUMBER(1)
DEFAULT 1,
CONSTRAINT mld_u_mld_stdmelding UNIQUE(mld_ins_discipline_key, mld_stdmelding_omschrijving, mld_stdmelding_verwijder),
CONSTRAINT mld_c_stdmelding_urenofdagen CHECK(mld_stdmelding_streeftijd IS NULL OR (mld_stdmelding_uitvoertijd = 0 AND mld_stdmelding_streeftijd IS NOT NULL))
);