IDEMPIERE-796 - peer review migration scripts
This commit is contained in:
parent
30a0ff3c2b
commit
edd123a31b
|
@ -1,112 +1,105 @@
|
|||
-- 06 Mar 13 17:14:53
|
||||
-- BF: “Database Error.: ERROR: null value in column "isapproved" violates not-null constraint”
|
||||
UPDATE AD_Column SET DefaultValue='N', IsAllowCopy='N',Updated=TO_DATE('2013-03-06 17:14:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59482
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
-- BF: “Database Error.: ERROR: null value in column "isapproved" violates not-null constraint”
|
||||
ALTER TABLE A_Asset_Disposed MODIFY isApproved CHAR(1) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
-- BF: “Database Error.: ERROR: null value in column "isapproved" violates not-null constraint”
|
||||
UPDATE A_Asset_Disposed SET IsApproved='N' WHERE IsApproved IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:07
|
||||
-- BF: “Error: ERROR: null value in column "assetvalueamt" violates not-null constraint”
|
||||
UPDATE AD_Column SET DefaultValue='0',Updated=TO_DATE('2013-03-06 17:20:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55844
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
-- BF: “Error: ERROR: null value in column "assetvalueamt" violates not-null constraint”
|
||||
ALTER TABLE A_Asset_Change MODIFY AssetValueAmt NUMERIC DEFAULT '0'
|
||||
;
|
||||
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
-- BF: “Error: ERROR: null value in column "assetvalueamt" violates not-null constraint”
|
||||
UPDATE A_Asset_Change SET AssetValueAmt=0 WHERE AssetValueAmt IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:43:54
|
||||
-- BF: Processed can't be a virtual column
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_DATE('2013-03-06 17:43:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59319
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:44:01
|
||||
-- BF: Processed can't be a virtual column
|
||||
ALTER TABLE A_Asset_Info_Fin ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:19
|
||||
-- BF: Processed can't be a virtual column
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_DATE('2013-03-06 17:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59320
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:22
|
||||
-- BF: Processed can't be a virtual column
|
||||
ALTER TABLE A_Asset_Info_Lic ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
-- 08 Mar 13 15:20:40
|
||||
-- On Create Depreciation Entry, Accounting Date set default to Doc Date
|
||||
UPDATE AD_Column SET DefaultValue='@#Date@', Callout='org.compiere.model.CalloutEngine.dateAcct',Updated=TO_DATE('2013-03-08 15:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55551
|
||||
;
|
||||
|
||||
-- Asset Disposed Process
|
||||
UPDATE ad_process SET isbetafunctionality='N' WHERE ad_process_id=53210;
|
||||
|
||||
|
||||
-- 11 Mar 13 14:29:08
|
||||
-- A_AssetGroup.AD_Org_ID
|
||||
UPDATE AD_Column SET IsUpdateable='N',DefaultValue='0', Updated=TO_DATE('2013-03-11 14:29:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8110
|
||||
;
|
||||
|
||||
-- 11 Mar 13 14:32:22
|
||||
-- A_Asset.AD_Org_ID must use AD_Org Trx Security validation
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=130,Updated=TO_DATE('2013-03-11 14:32:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8052
|
||||
;
|
||||
-- Mar 29, 2013 1:07:43 PM ICT
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2013-03-29 13:07:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59516
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:48 PM ICT
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:48 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths NULL
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:58 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-29 13:07:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59517
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:08:02 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths_F NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:08:02 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths_F NULL
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:03:50
|
||||
-- Import Fixed Asset does not has tree
|
||||
UPDATE AD_Tab SET HasTree='N',Updated=TO_DATE('2013-03-12 16:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53334
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message (MsgType,MsgText,EntityType,Value,AD_Message_ID,IsActive,Updated,AD_Client_ID,AD_Org_ID,CreatedBy,Created,UpdatedBy) VALUES ('I','Asset Depreciation Amount','FA','AssetDepreciationAmt',20001,'Y',TO_DATE('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0,0,0,TO_DATE('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=20001 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
|
||||
;
|
||||
-- 06 Mar 13 17:14:53
|
||||
-- BF: Database Error.: ERROR: null value in column "isapproved" violates not-null constraint
|
||||
UPDATE AD_Column SET DefaultValue='N', IsAllowCopy='N',Updated=TO_DATE('2013-03-06 17:14:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59482
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
ALTER TABLE A_Asset_Disposed MODIFY isApproved CHAR(1) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
UPDATE A_Asset_Disposed SET IsApproved='N' WHERE IsApproved IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:07
|
||||
UPDATE AD_Column SET DefaultValue='0',Updated=TO_DATE('2013-03-06 17:20:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55844
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
ALTER TABLE A_Asset_Change MODIFY AssetValueAmt NUMERIC DEFAULT '0'
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
UPDATE A_Asset_Change SET AssetValueAmt=0 WHERE AssetValueAmt IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:43:54
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_DATE('2013-03-06 17:43:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59319
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:44:01
|
||||
ALTER TABLE A_Asset_Info_Fin ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:19
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_DATE('2013-03-06 17:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59320
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:22
|
||||
ALTER TABLE A_Asset_Info_Lic ADD Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
-- 08 Mar 13 15:20:40
|
||||
-- On Create Depreciation Entry, Accounting Date set default to Doc Date
|
||||
UPDATE AD_Column SET DefaultValue='@#Date@', Callout='org.compiere.model.CalloutEngine.dateAcct',Updated=TO_DATE('2013-03-08 15:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55551
|
||||
;
|
||||
|
||||
-- Asset Disposed Process
|
||||
UPDATE ad_process SET isbetafunctionality='N' WHERE ad_process_id=53210;
|
||||
|
||||
|
||||
-- 11 Mar 13 14:29:08
|
||||
-- A_AssetGroup.AD_Org_ID
|
||||
UPDATE AD_Column SET IsUpdateable='N',DefaultValue='0', Updated=TO_DATE('2013-03-11 14:29:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8110
|
||||
;
|
||||
|
||||
-- 11 Mar 13 14:32:22
|
||||
-- A_Asset.AD_Org_ID must use AD_Org Trx Security validation
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=130,Updated=TO_DATE('2013-03-11 14:32:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8052
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:43 PM ICT
|
||||
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2013-03-29 13:07:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59516
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:48 PM ICT
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:48 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths NULL
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:07:58 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-29 13:07:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59517
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:08:02 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths_F NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- Mar 29, 2013 1:08:02 PM ICT
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
ALTER TABLE I_FixedAsset MODIFY UseLifeMonths_F NULL
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:03:50
|
||||
-- Import Fixed Asset does not has tree
|
||||
UPDATE AD_Tab SET HasTree='N',Updated=TO_DATE('2013-03-12 16:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53334
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message (MsgType,MsgText,EntityType,Value,AD_Message_ID,IsActive,Updated,AD_Client_ID,AD_Org_ID,CreatedBy,Created,UpdatedBy) VALUES ('I','Asset Depreciation Amount','D','AssetDepreciationAmt',20001,'Y',TO_DATE('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0,0,0,TO_DATE('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=20001 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201304170927_IDEMPIERE-796_1_armen_fix_dictionary.sql') FROM dual
|
||||
;
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -1,584 +1,481 @@
|
|||
-- Apr 4, 2013 1:15:30 PM ICT
|
||||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Ref_List SET Name='Fixed Assets Addition',Updated=TO_DATE('2013-04-04 13:15:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200139
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:15:46 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Name,AD_Ref_List_UU,Value,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200140,183,'U','Fixed Assets Disposal','98b85394-b7cb-40df-b310-825d53744733','FAD',TO_DATE('2013-04-04 13:15:45','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-04-04 13:15:45','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:15:46 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200140 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:15:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Ref_List SET EntityType='D',Updated=TO_DATE('2013-04-04 13:15:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200140
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:16:16 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Name,AD_Ref_List_UU,Value,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200141,183,'D','Fixed Assets Depreciation','68763ab2-7781-4d0a-88d4-1d70e3f885e7','FDP',TO_DATE('2013-04-04 13:16:15','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-04-04 13:16:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:16:16 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200141 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:39 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200006
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:39 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53273
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53274
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53277
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53144
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53148
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53147
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53146
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53143
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53140
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53142
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53141
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:18 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Val_Rule SET Name='C_DocType Fixed Assets Addition',Updated=TO_DATE('2013-04-04 13:18:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200035
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:31 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,IsActive,AD_Org_ID,AD_Client_ID) VALUES ('C_DocType.DocBaseType=''FAD'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)',200036,'U','C_DocType Fixed Assets Disposal','S','a8c570d9-1021-4074-ba86-f60dd0cbbeba',100,100,TO_DATE('2013-04-04 13:18:30','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2013-04-04 13:18:30','YYYY-MM-DD HH24:MI:SS'),'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:37 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Val_Rule SET EntityType='D',Updated=TO_DATE('2013-04-04 13:18:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200036
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:55 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,IsActive,AD_Org_ID,AD_Client_ID) VALUES ('C_DocType.DocBaseType=''FDP'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)',200037,'D','C_DocType Fixed Assets Depreciation','S','04475427-d1a4-4acf-9a5b-3e2dc25ff536',100,100,TO_DATE('2013-04-04 13:18:54','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2013-04-04 13:18:54','YYYY-MM-DD HH24:MI:SS'),'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:03 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59143
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:03 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59143
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59144
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59144
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59146
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59146
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59147
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59147
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59148
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59148
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59149
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59149
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59150
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59150
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59151
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59151
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59152
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59152
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59153
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59153
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59154
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59154
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59155
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59155
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59156
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59156
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59157
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59157
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59158
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59158
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59159
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59159
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59160
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59160
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59161
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59161
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59162
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59162
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59163
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59163
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59164
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59164
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59165
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59165
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59166
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59166
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59167
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59167
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59168
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59168
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59169
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59169
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59170
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59170
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59171
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59171
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59172
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59172
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59173
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59173
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59174
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59174
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59175
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59175
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59176
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59176
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59177
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59177
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59178
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59178
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59179
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59179
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59180
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59180
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59181
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59181
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:12 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53326
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:13 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Tab WHERE AD_Tab_ID=53326
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:21:26 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,AD_Val_Rule_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,AD_Org_ID,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,AD_Client_ID) VALUES (0,'N',0,53127,210216,'U','N','N','N',0,'N',10,'N',19,200036,'N',196,'N','Y','445bef10-c7bb-42c3-bc6c-d5ee25452195','Y','C_DocType_ID','Document type or rules','The Document Type determines document sequence and processing rules','Document Type','Y',TO_DATE('2013-04-04 13:21:24','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',TO_DATE('2013-04-04 13:21:24','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N',0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:21:43 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=200036,Updated=TO_DATE('2013-04-04 13:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210210
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:21:54 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2013-04-04 13:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210210
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=55813
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=55808
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=55809
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55810
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55811
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=55812
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:25 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=200037,Updated=TO_DATE('2013-04-04 13:23:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55563
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=55559
|
||||
UPDATE AD_Field SET IsActive='N' WHERE AD_Column_ID=55559
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=55559
|
||||
UPDATE AD_Column SET IsActive='N' WHERE AD_Column_ID=55559
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
alter table i_fixedasset drop CONSTRAINT i_fixedasset_i_isimported_check
|
||||
-- oracle doesn't have a constant naming for constraint checks :-(
|
||||
ALTER TABLE I_FIXEDASSET RENAME COLUMN I_ISIMPORTED TO I_ISIMPORTEDDROP
|
||||
;
|
||||
|
||||
ALTER TABLE I_FIXEDASSET ADD ( I_ISIMPORTED CHAR(1) DEFAULT 'N' NULL )
|
||||
;
|
||||
|
||||
UPDATE I_FIXEDASSET SET I_ISIMPORTED=I_ISIMPORTEDDROP
|
||||
;
|
||||
|
||||
ALTER TABLE I_FIXEDASSET MODIFY ( I_ISIMPORTED CHAR(1) NOT NULL )
|
||||
;
|
||||
|
||||
ALTER TABLE I_FIXEDASSET DROP ( I_ISIMPORTEDDROP ) CASCADE CONSTRAINT
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201304170929_IDEMPIERE-796_3.sql') FROM dual
|
||||
;
|
||||
|
|
@ -4,172 +4,141 @@ UPDATE C_DocType SET DocBaseType='FDP',Updated=TO_DATE('2013-04-10 15:52:44','YY
|
|||
;
|
||||
|
||||
-- Apr 10, 2013 3:52:48 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE C_DocType SET DocBaseType='FAD',Updated=TO_DATE('2013-04-10 15:52:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_DocType_ID=200003
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 5:03:31 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2013-04-10 17:03:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210209
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 5:05:32 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2013-04-10 17:05:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201888
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 5:05:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2013-04-10 17:05:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201893
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56065
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56066
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59262
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56067
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59263
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56070
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56071
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56072
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59264
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59265
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55879
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55867
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55870
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59030
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=55880
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55881
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55882
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59034
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59035
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:43:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56205
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:15 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50000
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:18 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50001
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:20 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50002
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:24 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50004
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:27 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50005
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50006
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:32 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50008
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:35 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50007
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:37 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50009
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_DATE('2013-04-10 21:44:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50010
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201304170930_IDEMPIERE-796_4.sql') FROM dual
|
||||
;
|
||||
|
|
@ -1,114 +1,105 @@
|
|||
-- 06 Mar 13 17:14:53
|
||||
-- BF: “Database Error.: ERROR: null value in column "isapproved" violates not-null constraint”
|
||||
UPDATE AD_Column SET DefaultValue='N', IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-03-06 17:14:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59482
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
-- BF: “Database Error.: ERROR: null value in column "isapproved" violates not-null constraint”
|
||||
INSERT INTO t_alter_column values('a_asset_disposed','IsApproved','CHAR(1)',null,'N')
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
-- BF: “Database Error.: ERROR: null value in column "isapproved" violates not-null constraint”
|
||||
UPDATE A_Asset_Disposed SET IsApproved='N' WHERE IsApproved IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:07
|
||||
-- BF: “Error: ERROR: null value in column "assetvalueamt" violates not-null constraint”
|
||||
UPDATE AD_Column SET DefaultValue='0',Updated=TO_TIMESTAMP('2013-03-06 17:20:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55844
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
-- BF: “Error: ERROR: null value in column "assetvalueamt" violates not-null constraint”
|
||||
INSERT INTO t_alter_column values('a_asset_change','AssetValueAmt','NUMERIC',null,'0')
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
-- BF: “Error: ERROR: null value in column "assetvalueamt" violates not-null constraint”
|
||||
UPDATE A_Asset_Change SET AssetValueAmt=0 WHERE AssetValueAmt IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:43:54
|
||||
-- BF: Processed can't be a virtual column
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-03-06 17:43:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59319
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:44:01
|
||||
-- BF: Processed can't be a virtual column
|
||||
ALTER TABLE A_Asset_Info_Fin ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:19
|
||||
-- BF: Processed can't be a virtual column
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-03-06 17:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59320
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:22
|
||||
-- BF: Processed can't be a virtual column
|
||||
ALTER TABLE A_Asset_Info_Lic ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
-- 08 Mar 13 15:20:40
|
||||
-- On Create Depreciation Entry, Accounting Date set default to Doc Date
|
||||
UPDATE AD_Column SET DefaultValue='@#Date@', Callout='org.compiere.model.CalloutEngine.dateAcct',Updated=TO_TIMESTAMP('2013-03-08 15:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55551
|
||||
;
|
||||
|
||||
-- Asset Disposed Process
|
||||
Update ad_process set isbetafunctionality='N' where ad_process_id=53210;
|
||||
|
||||
|
||||
-- 11 Mar 13 14:29:08
|
||||
-- A_AssetGroup.AD_Org_ID
|
||||
UPDATE AD_Column SET IsUpdateable='N',DefaultValue='0', Updated=TO_TIMESTAMP('2013-03-11 14:29:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8110
|
||||
;
|
||||
|
||||
-- 11 Mar 13 14:32:22
|
||||
-- A_Asset.AD_Org_ID must use AD_Org Trx Security validation
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=130,Updated=TO_TIMESTAMP('2013-03-11 14:32:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8052
|
||||
;
|
||||
|
||||
|
||||
-- 12 Mar 13 15:50:01
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2013-03-12 15:50:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59516
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:06
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths','NUMERIC(10)',null,'NULL')
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:06
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths',null,'NULL',null)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:15
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2013-03-12 15:50:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59517
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:23
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths_F','NUMERIC(10)',null,'NULL')
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:23
|
||||
-- BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths_F',null,'NULL',null)
|
||||
;
|
||||
|
||||
|
||||
-- 12 Mar 13 16:03:50
|
||||
-- Import Fixed Asset does not has tree
|
||||
UPDATE AD_Tab SET HasTree='N',Updated=TO_TIMESTAMP('2013-03-12 16:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53334
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message (MsgType,MsgText,EntityType,Value,AD_Message_ID,IsActive,Updated,AD_Client_ID,AD_Org_ID,CreatedBy,Created,UpdatedBy) VALUES ('I','Asset Depreciation Amount','FA','AssetDepreciationAmt',20001,'Y',TO_TIMESTAMP('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0,0,0,TO_TIMESTAMP('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=20001 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
|
||||
;
|
||||
-- 06 Mar 13 17:14:53
|
||||
-- BF: Database Error.: ERROR: null value in column "isapproved" violates not-null constraint
|
||||
UPDATE AD_Column SET DefaultValue='N', IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-03-06 17:14:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59482
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
INSERT INTO t_alter_column values('a_asset_disposed','IsApproved','CHAR(1)',null,'N')
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:14:58
|
||||
UPDATE A_Asset_Disposed SET IsApproved='N' WHERE IsApproved IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:07
|
||||
UPDATE AD_Column SET DefaultValue='0',Updated=TO_TIMESTAMP('2013-03-06 17:20:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55844
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
INSERT INTO t_alter_column values('a_asset_change','AssetValueAmt','NUMERIC',null,'0')
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:20:15
|
||||
UPDATE A_Asset_Change SET AssetValueAmt=0 WHERE AssetValueAmt IS NULL
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:43:54
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-03-06 17:43:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59319
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:44:01
|
||||
ALTER TABLE A_Asset_Info_Fin ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:19
|
||||
UPDATE AD_Column SET ColumnSQL=NULL, DefaultValue='''N''', IsAllowCopy='N',Updated=TO_TIMESTAMP('2013-03-06 17:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59320
|
||||
;
|
||||
|
||||
-- 06 Mar 13 17:42:22
|
||||
ALTER TABLE A_Asset_Info_Lic ADD COLUMN Processed CHAR(1) DEFAULT 'N' CHECK (Processed IN ('Y','N'))
|
||||
;
|
||||
-- 08 Mar 13 15:20:40
|
||||
-- On Create Depreciation Entry, Accounting Date set default to Doc Date
|
||||
UPDATE AD_Column SET DefaultValue='@#Date@', Callout='org.compiere.model.CalloutEngine.dateAcct',Updated=TO_TIMESTAMP('2013-03-08 15:20:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=55551
|
||||
;
|
||||
|
||||
-- Asset Disposed Process
|
||||
Update ad_process set isbetafunctionality='N' where ad_process_id=53210;
|
||||
|
||||
|
||||
-- 11 Mar 13 14:29:08
|
||||
-- A_AssetGroup.AD_Org_ID
|
||||
UPDATE AD_Column SET IsUpdateable='N',DefaultValue='0', Updated=TO_TIMESTAMP('2013-03-11 14:29:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8110
|
||||
;
|
||||
|
||||
-- 11 Mar 13 14:32:22
|
||||
-- A_Asset.AD_Org_ID must use AD_Org Trx Security validation
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=130,Updated=TO_TIMESTAMP('2013-03-11 14:32:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=8052
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:01
|
||||
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2013-03-12 15:50:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=59516
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:06
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths','NUMERIC(10)',null,'NULL')
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:06
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths',null,'NULL',null)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:15
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-29 13:07:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59517
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:23
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths_F','NUMERIC(10)',null,'NULL')
|
||||
;
|
||||
|
||||
-- 12 Mar 13 15:50:23
|
||||
--BF: "ERROR: null value in column "uselifemonths" violates not-null constraint
|
||||
INSERT INTO t_alter_column values('i_fixedasset','UseLifeMonths_F',null,'NULL',null)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:03:50
|
||||
-- Import Fixed Asset does not has tree
|
||||
UPDATE AD_Tab SET HasTree='N',Updated=TO_TIMESTAMP('2013-03-12 16:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53334
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message (MsgType,MsgText,EntityType,Value,AD_Message_ID,IsActive,Updated,AD_Client_ID,AD_Org_ID,CreatedBy,Created,UpdatedBy) VALUES ('I','Asset Depreciation Amount','D','AssetDepreciationAmt',20001,'Y',TO_TIMESTAMP('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0,0,0,TO_TIMESTAMP('2013-03-12 16:20:13','YYYY-MM-DD HH24:MI:SS'),0)
|
||||
;
|
||||
|
||||
-- 12 Mar 13 16:20:13
|
||||
-- Missing message
|
||||
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=20001 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201304170927_IDEMPIERE-796_1_armen_fix_dictionary.sql') FROM dual
|
||||
;
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -4,581 +4,465 @@ UPDATE AD_Ref_List SET Name='Fixed Assets Addition',Updated=TO_TIMESTAMP('2013-0
|
|||
;
|
||||
|
||||
-- Apr 4, 2013 1:15:46 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Name,AD_Ref_List_UU,Value,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200140,183,'U','Fixed Assets Disposal','98b85394-b7cb-40df-b310-825d53744733','FAD',TO_TIMESTAMP('2013-04-04 13:15:45','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-04-04 13:15:45','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:15:46 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200140 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:15:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Ref_List SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-04 13:15:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200140
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:16:16 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Name,AD_Ref_List_UU,Value,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200141,183,'D','Fixed Assets Depreciation','68763ab2-7781-4d0a-88d4-1d70e3f885e7','FDP',TO_TIMESTAMP('2013-04-04 13:16:15','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-04-04 13:16:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:16:16 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200141 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:39 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200006
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:39 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53273
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53274
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53277
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53144
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53148
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53147
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53146
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53143
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53140
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=12, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53142
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:17:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_TreeNodeMM SET Parent_ID=53139, SeqNo=13, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53141
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:18 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Val_Rule SET Name='C_DocType Fixed Assets Addition',Updated=TO_TIMESTAMP('2013-04-04 13:18:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200035
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:31 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,IsActive,AD_Org_ID,AD_Client_ID) VALUES ('C_DocType.DocBaseType=''FAD'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)',200036,'U','C_DocType Fixed Assets Disposal','S','a8c570d9-1021-4074-ba86-f60dd0cbbeba',100,100,TO_TIMESTAMP('2013-04-04 13:18:30','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2013-04-04 13:18:30','YYYY-MM-DD HH24:MI:SS'),'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:37 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Val_Rule SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-04 13:18:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200036
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:18:55 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,IsActive,AD_Org_ID,AD_Client_ID) VALUES ('C_DocType.DocBaseType=''FDP'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)',200037,'D','C_DocType Fixed Assets Depreciation','S','04475427-d1a4-4acf-9a5b-3e2dc25ff536',100,100,TO_TIMESTAMP('2013-04-04 13:18:54','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2013-04-04 13:18:54','YYYY-MM-DD HH24:MI:SS'),'Y',0,0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:03 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59143
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:03 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59143
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59144
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59144
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59145
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59146
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59146
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59147
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59147
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59148
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59148
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59149
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59149
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:04 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59150
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59150
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59151
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59151
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59152
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59152
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59153
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59153
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59154
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59154
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59155
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59155
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59156
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59156
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59157
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:05 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59157
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59158
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59158
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59159
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59159
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59160
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59160
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59161
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59161
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59162
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59162
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59163
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59163
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59164
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59164
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59165
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:06 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59165
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59166
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59166
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59167
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59167
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59168
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59168
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59169
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59169
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59170
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59170
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59171
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59171
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59172
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59172
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59173
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59173
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:07 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59174
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59174
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59175
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59175
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59176
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59176
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59177
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59177
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59178
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59178
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59179
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59179
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59180
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59180
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59181
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:08 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Field WHERE AD_Field_ID=59181
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:12 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53326
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:20:13 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Tab WHERE AD_Tab_ID=53326
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:21:26 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,AD_Val_Rule_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,AD_Org_ID,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,AD_Client_ID) VALUES (0,'N',0,53127,210216,'U','N','N','N',0,'N',10,'N',19,200036,'N',196,'N','Y','445bef10-c7bb-42c3-bc6c-d5ee25452195','Y','C_DocType_ID','Document type or rules','The Document Type determines document sequence and processing rules','Document Type','Y',TO_TIMESTAMP('2013-04-04 13:21:24','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',TO_TIMESTAMP('2013-04-04 13:21:24','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N',0)
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:21:43 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=200036,Updated=TO_TIMESTAMP('2013-04-04 13:21:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210210
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:21:54 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-04 13:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210210
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=55813
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=55808
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=55809
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55810
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55811
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:22:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=55812
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:25 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET AD_Val_Rule_ID=200037,Updated=TO_TIMESTAMP('2013-04-04 13:23:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55563
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=55559
|
||||
UPDATE AD_Field SET IsActive='N' WHERE AD_Column_ID=55559
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=55559
|
||||
UPDATE AD_Column SET IsActive='N' WHERE AD_Column_ID=55559
|
||||
;
|
||||
|
||||
-- Apr 4, 2013 1:23:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
alter table i_fixedasset drop CONSTRAINT i_fixedasset_i_isimported_check
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201304170929_IDEMPIERE-796_3.sql') FROM dual
|
||||
;
|
||||
|
|
@ -4,173 +4,141 @@ UPDATE C_DocType SET DocBaseType='FDP',Updated=TO_TIMESTAMP('2013-04-10 15:52:44
|
|||
;
|
||||
|
||||
-- Apr 10, 2013 3:52:48 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE C_DocType SET DocBaseType='FAD',Updated=TO_TIMESTAMP('2013-04-10 15:52:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_DocType_ID=200003
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 5:03:31 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-10 17:03:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210209
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 5:05:32 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-10 17:05:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201888
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 5:05:56 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-10 17:05:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201893
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56065
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56066
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59262
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56067
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59263
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56070
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56071
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56072
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59264
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:40:19 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59265
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55879
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55867
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55870
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59030
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=55880
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55881
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55882
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59034
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:41:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59035
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:43:38 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56205
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:15 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50000
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:18 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50001
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:20 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50002
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:24 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50004
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:27 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50005
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:29 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50006
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:32 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50008
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:35 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50007
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:37 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50009
|
||||
;
|
||||
|
||||
-- Apr 10, 2013 9:44:40 PM ICT
|
||||
-- IDEMPIERE-796
|
||||
UPDATE A_Depreciation SET IsActive='N',Updated=TO_TIMESTAMP('2013-04-10 21:44:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE A_Depreciation_ID=50010
|
||||
;
|
||||
|
||||
SELECT register_migration_script('201304170930_IDEMPIERE-796_4.sql') FROM dual
|
||||
;
|
||||
|
|
@ -119,6 +119,27 @@ public interface I_A_Asset_Addition
|
|||
/** Get Create Asset */
|
||||
public boolean isA_CreateAsset();
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name A_Life_Period_Max */
|
||||
public static final String COLUMNNAME_A_Life_Period_Max = "A_Life_Period_Max";
|
||||
|
||||
|
@ -173,27 +194,6 @@ public interface I_A_Asset_Addition
|
|||
/** Get Source Type */
|
||||
public String getA_SourceType();
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
/** Set Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public void setAD_Org_ID (int AD_Org_ID);
|
||||
|
||||
/** Get Organization.
|
||||
* Organizational entity within client
|
||||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name AssetAmtEntered */
|
||||
public static final String COLUMNNAME_AssetAmtEntered = "AssetAmtEntered";
|
||||
|
||||
|
|
|
@ -130,6 +130,14 @@ public interface I_A_Asset_Disposed
|
|||
|
||||
public org.compiere.model.I_A_Asset getA_Asset_Trade() throws RuntimeException;
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name A_Disposal_Amt */
|
||||
public static final String COLUMNNAME_A_Disposal_Amt = "A_Disposal_Amt";
|
||||
|
||||
|
@ -166,23 +174,6 @@ public interface I_A_Asset_Disposed
|
|||
/** Get Disposed Reason */
|
||||
public String getA_Disposed_Reason();
|
||||
|
||||
/** Column name A_Proceeds */
|
||||
public static final String COLUMNNAME_A_Proceeds = "A_Proceeds";
|
||||
|
||||
/** Set Asset Proceeds */
|
||||
public void setA_Proceeds (BigDecimal A_Proceeds);
|
||||
|
||||
/** Get Asset Proceeds */
|
||||
public BigDecimal getA_Proceeds();
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
|
@ -196,6 +187,15 @@ public interface I_A_Asset_Disposed
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name A_Proceeds */
|
||||
public static final String COLUMNNAME_A_Proceeds = "A_Proceeds";
|
||||
|
||||
/** Set Asset Proceeds */
|
||||
public void setA_Proceeds (BigDecimal A_Proceeds);
|
||||
|
||||
/** Get Asset Proceeds */
|
||||
public BigDecimal getA_Proceeds();
|
||||
|
||||
/** Column name C_DocType_ID */
|
||||
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
|
||||
|
||||
|
|
|
@ -41,6 +41,14 @@ public interface I_A_Depreciation_Entry
|
|||
|
||||
/** Load Meta Data */
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name A_Depreciation_Entry_ID */
|
||||
public static final String COLUMNNAME_A_Depreciation_Entry_ID = "A_Depreciation_Entry_ID";
|
||||
|
||||
|
@ -59,23 +67,6 @@ public interface I_A_Depreciation_Entry
|
|||
/** Get A_Depreciation_Entry_UU */
|
||||
public String getA_Depreciation_Entry_UU();
|
||||
|
||||
/** Column name A_Entry_Type */
|
||||
public static final String COLUMNNAME_A_Entry_Type = "A_Entry_Type";
|
||||
|
||||
/** Set Entry Type */
|
||||
public void setA_Entry_Type (String A_Entry_Type);
|
||||
|
||||
/** Get Entry Type */
|
||||
public String getA_Entry_Type();
|
||||
|
||||
/** Column name AD_Client_ID */
|
||||
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
|
||||
|
||||
/** Get Client.
|
||||
* Client/Tenant for this installation.
|
||||
*/
|
||||
public int getAD_Client_ID();
|
||||
|
||||
/** Column name AD_Org_ID */
|
||||
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
|
||||
|
||||
|
@ -89,6 +80,15 @@ public interface I_A_Depreciation_Entry
|
|||
*/
|
||||
public int getAD_Org_ID();
|
||||
|
||||
/** Column name A_Entry_Type */
|
||||
public static final String COLUMNNAME_A_Entry_Type = "A_Entry_Type";
|
||||
|
||||
/** Set Entry Type */
|
||||
public void setA_Entry_Type (String A_Entry_Type);
|
||||
|
||||
/** Get Entry Type */
|
||||
public String getA_Entry_Type();
|
||||
|
||||
/** Column name C_AcctSchema_ID */
|
||||
public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID";
|
||||
|
||||
|
@ -243,21 +243,6 @@ public interface I_A_Depreciation_Entry
|
|||
*/
|
||||
public String getDocumentNo();
|
||||
|
||||
/** Column name GL_Category_ID */
|
||||
public static final String COLUMNNAME_GL_Category_ID = "GL_Category_ID";
|
||||
|
||||
/** Set GL Category.
|
||||
* General Ledger Category
|
||||
*/
|
||||
public void setGL_Category_ID (int GL_Category_ID);
|
||||
|
||||
/** Get GL Category.
|
||||
* General Ledger Category
|
||||
*/
|
||||
public int getGL_Category_ID();
|
||||
|
||||
public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException;
|
||||
|
||||
/** Column name IsActive */
|
||||
public static final String COLUMNNAME_IsActive = "IsActive";
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20130410L;
|
||||
private static final long serialVersionUID = 20130417L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_A_Asset_Addition (Properties ctx, int A_Asset_Addition_ID, String trxName)
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20130410L;
|
||||
private static final long serialVersionUID = 20130417L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName)
|
||||
|
@ -61,7 +61,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
|
|||
setExpense (Env.ZERO);
|
||||
// 0
|
||||
setIsApproved (false);
|
||||
// @#IsCanApproveOwnDoc@
|
||||
// N
|
||||
setPosted (false);
|
||||
// N
|
||||
setPostingType (null);
|
||||
|
|
|
@ -33,7 +33,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 20130410L;
|
||||
private static final long serialVersionUID = 20130417L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName)
|
||||
|
@ -50,13 +50,12 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
|
|||
setDateAcct (new Timestamp( System.currentTimeMillis() ));
|
||||
// @Date@
|
||||
setDateDoc (new Timestamp( System.currentTimeMillis() ));
|
||||
// @Date@
|
||||
// @#Date@
|
||||
setDocAction (null);
|
||||
// 'CO'
|
||||
setDocStatus (null);
|
||||
// 'DR'
|
||||
setDocumentNo (null);
|
||||
setGL_Category_ID (0);
|
||||
setIsApproved (false);
|
||||
// @#IsCanApproveOwnDoc@
|
||||
setPosted (false);
|
||||
|
@ -439,34 +438,6 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
|
|||
return (String)get_Value(COLUMNNAME_DocumentNo);
|
||||
}
|
||||
|
||||
public org.compiere.model.I_GL_Category getGL_Category() throws RuntimeException
|
||||
{
|
||||
return (org.compiere.model.I_GL_Category)MTable.get(getCtx(), org.compiere.model.I_GL_Category.Table_Name)
|
||||
.getPO(getGL_Category_ID(), get_TrxName()); }
|
||||
|
||||
/** Set GL Category.
|
||||
@param GL_Category_ID
|
||||
General Ledger Category
|
||||
*/
|
||||
public void setGL_Category_ID (int GL_Category_ID)
|
||||
{
|
||||
if (GL_Category_ID < 1)
|
||||
set_Value (COLUMNNAME_GL_Category_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_GL_Category_ID, Integer.valueOf(GL_Category_ID));
|
||||
}
|
||||
|
||||
/** Get GL Category.
|
||||
@return General Ledger Category
|
||||
*/
|
||||
public int getGL_Category_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_GL_Category_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
}
|
||||
|
||||
/** Set Approved.
|
||||
@param IsApproved
|
||||
Indicates if this document requires approval
|
||||
|
|
Loading…
Reference in New Issue