BF [ 2153188 ] M_Product.LowLevel should be set to 0 for new products
This commit is contained in:
parent
2ef0681203
commit
cf9d2cd6cf
|
@ -134,6 +134,7 @@ public class MProduct extends X_M_Product
|
|||
setIsSelfService(true);
|
||||
setIsExcludeAutoDelivery(false);
|
||||
setProcessing (false); // N
|
||||
setLowLevel(0);
|
||||
}
|
||||
} // MProduct
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
-- 08.10.2008 16:13:52 EEST
|
||||
--
|
||||
UPDATE AD_Column SET DefaultValue='0', IsMandatory='Y',Updated=TO_DATE('2008-10-08 16:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53408
|
||||
;
|
||||
|
||||
-- 08.10.2008 16:13:55 EEST
|
||||
--
|
||||
ALTER TABLE M_Product MODIFY LowLevel NUMBER(10) DEFAULT 0
|
||||
;
|
||||
|
||||
-- 08.10.2008 16:13:56 EEST
|
||||
--
|
||||
UPDATE M_Product SET LowLevel=0 WHERE LowLevel IS NULL
|
||||
;
|
||||
|
||||
-- 08.10.2008 16:13:56 EEST
|
||||
--
|
||||
ALTER TABLE M_Product MODIFY LowLevel NOT NULL
|
||||
;
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
-- 08.10.2008 16:13:52 EEST
|
||||
--
|
||||
UPDATE AD_Column SET DefaultValue='0', IsMandatory='Y',Updated=TO_TIMESTAMP('2008-10-08 16:13:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53408
|
||||
;
|
||||
|
||||
-- 08.10.2008 16:13:55 EEST
|
||||
--
|
||||
insert into t_alter_column values('m_product','LowLevel','NUMERIC(10)',null,'0')
|
||||
;
|
||||
|
||||
-- 08.10.2008 16:13:56 EEST
|
||||
--
|
||||
UPDATE M_Product SET LowLevel=0 WHERE LowLevel IS NULL
|
||||
;
|
||||
|
||||
-- 08.10.2008 16:13:56 EEST
|
||||
--
|
||||
insert into t_alter_column values('m_product','LowLevel',null,'NOT NULL',null)
|
||||
;
|
||||
|
Loading…
Reference in New Issue