IDEMPIERE-3087 Process: Add or Copy Accounts - null value in v_liability_services_acct

This commit is contained in:
Jesús García 2016-04-28 11:30:11 -07:00
parent 7bf6ef3296
commit 19a3da8077
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,19 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-2405 Implement SaaS support for Setup Wizard
-- Apr 28, 2016 12:59:00 PM COT
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2016-04-28 12:59:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4986
;
-- Apr 28, 2016 12:59:11 PM COT
ALTER TABLE C_BP_Group_Acct MODIFY V_Liability_Services_Acct NUMBER(10) DEFAULT NULL
;
-- Apr 28, 2016 12:59:11 PM COT
ALTER TABLE C_BP_Group_Acct MODIFY V_Liability_Services_Acct NULL
;
SELECT register_migration_script('201604281128_IDEMPIERE-3087.sql') FROM dual
;

View File

@ -0,0 +1,16 @@
-- IDEMPIERE-2405 Implement SaaS support for Setup Wizard
-- Apr 28, 2016 12:59:00 PM COT
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2016-04-28 12:59:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4986
;
-- Apr 28, 2016 12:59:11 PM COT
INSERT INTO t_alter_column values('c_bp_group_acct','V_Liability_Services_Acct','NUMERIC(10)',null,'NULL')
;
-- Apr 28, 2016 12:59:11 PM COT
INSERT INTO t_alter_column values('c_bp_group_acct','V_Liability_Services_Acct',null,'NULL',null)
;
SELECT register_migration_script('201604281128_IDEMPIERE-3087.sql') FROM dual
;