IDEMPIERE-2668 Exclude Locators for Demand Operations / different approach to make reservation locator mandatory - previous approach didn't allow to add new warehouses
This commit is contained in:
parent
d015abe5c1
commit
db1d42ab2d
|
@ -0,0 +1,15 @@
|
|||
SET SQLBLANKLINES ON
|
||||
SET DEFINE OFF
|
||||
|
||||
-- IDEMPIERE-2668 Exclude Locators for Demand Operations
|
||||
-- Sep 6, 2016 1:55:35 PM GMT+01:00
|
||||
UPDATE AD_Field SET IsMandatory=NULL, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2016-09-06 13:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200649
|
||||
;
|
||||
|
||||
-- Sep 6, 2016 1:55:56 PM GMT+01:00
|
||||
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, MandatoryLogic='@M_Warehouse_ID@>0', IsToolbarButton=NULL,Updated=TO_DATE('2016-09-06 13:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200649
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201609061457_IDEMPIERE-2668.sql') FROM dual
|
||||
;
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
-- IDEMPIERE-2668 Exclude Locators for Demand Operations
|
||||
-- Sep 6, 2016 1:55:35 PM GMT+01:00
|
||||
UPDATE AD_Field SET IsMandatory=NULL, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2016-09-06 13:55:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200649
|
||||
;
|
||||
|
||||
-- Sep 6, 2016 1:55:56 PM GMT+01:00
|
||||
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, MandatoryLogic='@M_Warehouse_ID@>0', IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2016-09-06 13:55:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200649
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201609061457_IDEMPIERE-2668.sql') FROM dual
|
||||
;
|
||||
|
Loading…
Reference in New Issue