IDEMPIERE-796

This commit is contained in:
Edwin Ang 2013-04-10 21:54:08 +07:00
parent c67bc4738e
commit 30a0ff3c2b
13 changed files with 1687 additions and 62 deletions

View File

@ -0,0 +1,584 @@
-- Apr 4, 2013 1:15:30 PM ICT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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
;
-- Apr 4, 2013 1:23:38 PM ICT
-- IDEMPIERE-796
DELETE FROM AD_Column 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
;

View File

@ -0,0 +1,175 @@
-- Apr 10, 2013 3:52:44 PM ICT
-- IDEMPIERE-796
UPDATE C_DocType SET DocBaseType='FDP',Updated=TO_DATE('2013-04-10 15:52:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_DocType_ID=200002
;
-- 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
;

View File

@ -0,0 +1,584 @@
-- Apr 4, 2013 1:15:30 PM ICT
-- IDEMPIERE-796
UPDATE AD_Ref_List SET Name='Fixed Assets Addition',Updated=TO_TIMESTAMP('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_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
;
-- Apr 4, 2013 1:23:38 PM ICT
-- IDEMPIERE-796
DELETE FROM AD_Column 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
;

View File

@ -0,0 +1,176 @@
-- Apr 10, 2013 3:52:44 PM ICT
-- IDEMPIERE-796
UPDATE C_DocType SET DocBaseType='FDP',Updated=TO_TIMESTAMP('2013-04-10 15:52:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_DocType_ID=200002
;
-- 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
;

View File

@ -119,27 +119,6 @@ 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";
@ -194,6 +173,27 @@ 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";
@ -270,6 +270,21 @@ public interface I_A_Asset_Addition
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException;
/** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
/** Set Document Type.
* Document type or rules
*/
public void setC_DocType_ID (int C_DocType_ID);
/** Get Document Type.
* Document type or rules
*/
public int getC_DocType_ID();
public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;
/** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";

View File

@ -35,9 +35,9 @@ public interface I_A_Asset_Disposed
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 7 - System - Client - Org
/** AccessLevel = 3 - Client - Org
*/
BigDecimal accessLevel = BigDecimal.valueOf(7);
BigDecimal accessLevel = BigDecimal.valueOf(3);
/** Load Meta Data */
@ -130,14 +130,6 @@ 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";
@ -174,6 +166,23 @@ 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";
@ -187,14 +196,20 @@ public interface I_A_Asset_Disposed
*/
public int getAD_Org_ID();
/** Column name A_Proceeds */
public static final String COLUMNNAME_A_Proceeds = "A_Proceeds";
/** Column name C_DocType_ID */
public static final String COLUMNNAME_C_DocType_ID = "C_DocType_ID";
/** Set Asset Proceeds */
public void setA_Proceeds (BigDecimal A_Proceeds);
/** Set Document Type.
* Document type or rules
*/
public void setC_DocType_ID (int C_DocType_ID);
/** Get Asset Proceeds */
public BigDecimal getA_Proceeds();
/** Get Document Type.
* Document type or rules
*/
public int getC_DocType_ID();
public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException;
/** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";

View File

@ -41,14 +41,6 @@ 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";
@ -67,6 +59,23 @@ 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";
@ -80,15 +89,6 @@ 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";

View File

@ -238,6 +238,7 @@ public class MAssetAddition extends X_A_Asset_Addition
{
this(match.getCtx(), 0, match.get_TrxName());
setM_MatchInv(match);
setC_DocType_ID();
}
//added by @win
@ -263,6 +264,7 @@ public class MAssetAddition extends X_A_Asset_Addition
setA_CreateAsset(true); //added by @win as create from project will certainly for createnew
setDeltaUseLifeYears(I_ZERO);
setDeltaUseLifeYears_F(I_ZERO);
setC_DocType_ID();
Timestamp dateAcct = new Timestamp (System.currentTimeMillis());
if (dateAcct != null)
@ -314,6 +316,7 @@ public class MAssetAddition extends X_A_Asset_Addition
setA_CapvsExp(MAssetAddition.A_CAPVSEXP_Capital); //added by zuhri, import must be in Capital
setA_CreateAsset(true); //added by zuhri, import must be create asset
setA_Salvage_Value(ifa.getA_Salvage_Value());
setC_DocType_ID();
Timestamp dateAcct = ifa.getDateAcct();
if (dateAcct != null)
@ -1187,4 +1190,21 @@ public class MAssetAddition extends X_A_Asset_Addition
}
}
}
private void setC_DocType_ID()
{
StringBuilder sql = new StringBuilder ("SELECT C_DocType_ID FROM C_DocType ")
.append( "WHERE AD_Client_ID=? AND AD_Org_ID IN (0,").append( getAD_Org_ID())
.append( ") AND DocBaseType='FAA' ")
.append( "ORDER BY AD_Org_ID DESC, IsDefault DESC");
int C_DocType_ID = DB.getSQLValue(null, sql.toString(), getAD_Client_ID());
if (C_DocType_ID <= 0)
log.severe ("No FAA found for AD_Client_ID=" + getAD_Client_ID ());
else
{
if (log.isLoggable(Level.FINE)) log.fine("(PO) - " + C_DocType_ID);
setC_DocType_ID (C_DocType_ID);
}
}
} // MAssetAddition

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers
/**
*
*/
private static final long serialVersionUID = 20121031L;
private static final long serialVersionUID = 20130410L;
/** Standard Constructor */
public X_A_Asset_Addition (Properties ctx, int A_Asset_Addition_ID, String trxName)
@ -518,6 +518,34 @@ public class X_A_Asset_Addition extends PO implements I_A_Asset_Addition, I_Pers
return ii.intValue();
}
public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException
{
return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type.
@param C_DocType_ID
Document type or rules
*/
public void setC_DocType_ID (int C_DocType_ID)
{
if (C_DocType_ID < 0)
set_Value (COLUMNNAME_C_DocType_ID, null);
else
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
}
/** Get Document Type.
@return Document type or rules
*/
public int getC_DocType_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException
{
return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name)

View File

@ -33,7 +33,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
/**
*
*/
private static final long serialVersionUID = 20121031L;
private static final long serialVersionUID = 20130410L;
/** Standard Constructor */
public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName)
@ -78,7 +78,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
}
/** AccessLevel
* @return 7 - System - Client - Org
* @return 3 - Client - Org
*/
protected int get_AccessLevel()
{
@ -405,6 +405,34 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
return bd;
}
public org.compiere.model.I_C_DocType getC_DocType() throws RuntimeException
{
return (org.compiere.model.I_C_DocType)MTable.get(getCtx(), org.compiere.model.I_C_DocType.Table_Name)
.getPO(getC_DocType_ID(), get_TrxName()); }
/** Set Document Type.
@param C_DocType_ID
Document type or rules
*/
public void setC_DocType_ID (int C_DocType_ID)
{
if (C_DocType_ID < 0)
set_Value (COLUMNNAME_C_DocType_ID, null);
else
set_Value (COLUMNNAME_C_DocType_ID, Integer.valueOf(C_DocType_ID));
}
/** Get Document Type.
@return Document type or rules
*/
public int getC_DocType_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_DocType_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_C_Invoice getC_Invoice() throws RuntimeException
{
return (org.compiere.model.I_C_Invoice)MTable.get(getCtx(), org.compiere.model.I_C_Invoice.Table_Name)

View File

@ -33,7 +33,7 @@ public class X_A_Depreciation_Entry extends PO implements I_A_Depreciation_Entry
/**
*
*/
private static final long serialVersionUID = 20121031L;
private static final long serialVersionUID = 20130410L;
/** Standard Constructor */
public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName)

View File

@ -51,9 +51,10 @@ public class CalloutAsset extends CalloutEngine {
public String asset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value)
{
if (MAsset.COLUMNNAME_A_Asset_ID.equals(mField.getColumnName()))
if (value != null && MAsset.COLUMNNAME_A_Asset_ID.equals(mField.getColumnName()))
{
MAsset asset = new MAsset(ctx, (Integer) value, null);
if (asset != null)
mTab.setValue(MAsset.COLUMNNAME_M_Product_ID, asset.getM_Product_ID());
}

View File

@ -30,7 +30,6 @@ public class ImportFixedAsset extends SvrProcess
private int p_AD_Org_ID = 0;
/** Account Date */
@SuppressWarnings("unused")
private Timestamp p_DateAcct = null;
/** Validate Only - only validate import data */
@ -359,8 +358,8 @@ public class ImportFixedAsset extends SvrProcess
}
//if(p_A_Asset_Group_ID>0)
// assetAdd.getA_Asset().setA_Asset_Group_ID(p_A_Asset_Group_ID);
//if(p_DateAcct!=null)
// assetAdd.setDateAcct(p_DateAcct);
if(p_DateAcct!=null)
assetAdd.setDateAcct(p_DateAcct);
assetAdd.saveEx();
//Process Asset Addition Based on Document Action