Merge with 3fc57e6ea4ccdabadf06c311d1dc4bd5e0928cb3

This commit is contained in:
Elaine Tan 2013-04-19 17:08:49 +08:00
commit 48b43928e2
25 changed files with 4668 additions and 60 deletions

View File

@ -0,0 +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
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
;

View File

@ -0,0 +1,931 @@
-- Mar 24, 2013 8:41:39 PM ICT
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 (200139,183,'U','Fixed Assets Document','fef8f9ac-de6a-4ea9-b117-3a6bcfb2f3d4','FAA',TO_DATE('2013-03-24 20:41:37','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-03-24 20:41:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0)
;
-- Mar 24, 2013 8:41:39 PM ICT
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=200139 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)
;
-- Mar 24, 2013 8:42:03 PM ICT
UPDATE AD_Ref_List SET EntityType='D',Updated=TO_DATE('2013-03-24 20:42:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200139
;
-- Mar 24, 2013 8:44:07 PM ICT
INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,AD_Client_ID,IsActive,AD_Org_ID) VALUES ('C_DocType.DocBaseType=''FAA'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)',200035,'D','C_DocType Fixed Assets','S','7305a6f8-6b50-498e-b5ec-c1dc94902817',100,100,TO_DATE('2013-03-24 20:44:05','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2013-03-24 20:44:05','YYYY-MM-DD HH24:MI:SS'),0,'Y',0)
;
-- Mar 24, 2013 8:44:23 PM ICT
UPDATE AD_Column SET AD_Val_Rule_ID=200035,Updated=TO_DATE('2013-03-24 20:44:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55563
;
-- Mar 24, 2013 8:56:46 PM ICT
UPDATE AD_Menu SET Name='Asset Disposal', Description='Dispose of Assets',Updated=TO_DATE('2013-03-24 20:56:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:56:46 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Window SET Description='Dispose of Assets',Updated=TO_DATE('2013-03-24 20:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Menu SET Name='Asset Activation/Disposal', Description='Dispose of Assets', IsActive='Y',Updated=TO_DATE('2013-03-24 20:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Window SET Name='Asset Disposal2', IsActive='N',Updated=TO_DATE('2013-03-24 20:58:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53049
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53049
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Menu SET Name='Asset Disposal2', Description='Dispose of Assets', IsActive='N',Updated=TO_DATE('2013-03-24 20:58:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53145
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53145
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Window SET Name='Asset Disposal',Updated=TO_DATE('2013-03-24 20:58:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Menu SET Name='Asset Disposal', Description='Dispose of Assets', IsActive='Y',Updated=TO_DATE('2013-03-24 20:58:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 9:14:57 PM ICT
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,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted) VALUES (0,'N',0,53137,210209,'U','N','N','N',0,'N',10,'N',19,200035,'N',196,'N','Y','34a3e305-8dd5-4e41-9953-8dbde442ceaf','Y','C_DocType_ID','Document type or rules','The Document Type determines document sequence and processing rules','Document Type','Y',TO_DATE('2013-03-24 21:14:55','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',TO_DATE('2013-03-24 21:14:55','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N','N')
;
-- Mar 24, 2013 9:14:57 PM ICT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, 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_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=210209 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- Mar 24, 2013 9:15:05 PM ICT
ALTER TABLE A_Asset_Addition ADD C_DocType_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:15:42 PM ICT
UPDATE AD_Tab SET Name='Asset Disposal', Description='Process the Disposal',Updated=TO_DATE('2013-03-24 21:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53325
;
-- Mar 24, 2013 9:15:42 PM ICT
UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53325
;
-- Mar 24, 2013 9:16:12 PM ICT
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,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted) VALUES (0,'N',0,53127,210210,'U','N','N','N',0,'N',10,'N',19,200035,'N',196,'N','Y','928a0f0a-da92-405a-bedc-176cee363dee','Y','C_DocType_ID','Document type or rules','The Document Type determines document sequence and processing rules','Document Type','Y',TO_DATE('2013-03-24 21:16:11','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',TO_DATE('2013-03-24 21:16:11','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N','N')
;
-- Mar 24, 2013 9:16:12 PM ICT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, 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_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=210210 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- Mar 24, 2013 9:16:18 PM ICT
ALTER TABLE A_Asset_Disposed ADD C_DocType_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:16:33 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:16:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53127
;
-- Mar 24, 2013 9:16:50 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:16:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53123
;
-- Mar 24, 2013 9:17:01 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:17:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53130
;
-- Mar 24, 2013 9:17:04 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53132
;
-- Mar 24, 2013 9:17:06 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:17:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53135
;
-- Mar 24, 2013 9:17:09 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53134
;
-- Mar 24, 2013 9:17:11 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53136
;
-- Mar 24, 2013 9:17:31 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_DATE('2013-03-24 21:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53131
;
-- Mar 24, 2013 9:17:50 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,36,'N','N',60357,'Y',201887,'N','D','A_Asset_Disposed_UU','Y','N','aa5f43db-8a63-46bb-8132-a8a0db473e36',100,0,TO_DATE('2013-03-24 21:17:49','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:17:49','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:50 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201887 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:51 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,10,'N','N',210210,'Y',201888,'N','The Document Type determines document sequence and processing rules','U','Document type or rules','Document Type','Y','N','c28d47c5-5c1c-4040-8190-967e0ae37c5c',100,0,TO_DATE('2013-03-24 21:17:50','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:17:50','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:51 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201888 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:52 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,10,'N','N',200075,'Y',201889,'N','The Invoice Document.','D','Invoice Identifier','Invoice','Y','N','d7270c7e-841e-49cf-bae0-8041a17d9509',100,0,TO_DATE('2013-03-24 21:17:51','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:17:51','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:52 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201889 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:54 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,10,'N','N',200076,'Y',201890,'N','The Invoice Line uniquely identifies a single line of an Invoice.','D','Invoice Detail Line','Invoice Line','Y','N','e15d85a5-f240-414d-87ac-9cbde577caf4',100,0,TO_DATE('2013-03-24 21:17:52','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:17:52','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:54 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201890 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:55 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,20,'N','N',59588,'Y',201891,'N','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','D','The date+time (expressed in decimal format) when the document has been processed','Processed On','Y','N','20f54461-f9f4-46e5-9262-2fad03b7f38c',100,0,TO_DATE('2013-03-24 21:17:54','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:17:54','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:55 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201891 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201887
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201889
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201890
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201891
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=201888
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59396
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59136
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59138
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59139
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59137
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59140
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59402
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59141
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59405
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59398
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59401
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59399
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59400
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59403
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59404
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59406
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59408
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59407
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59409
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201887
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=59407
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=59134
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201889
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201890
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201891
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=59135
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=59395
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=201888
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=210,IsDisplayedGrid='Y' WHERE AD_Field_ID=59409
;
-- Mar 24, 2013 9:19:11 PM ICT
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2013-03-24 21:19:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201888
;
-- Mar 24, 2013 9:20:43 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53324,36,'N','N',60354,'Y',201892,'N','D','A_Asset_Addition_UU','Y','N','9d33d304-53c6-4aec-a126-b2e20505cfe8',100,0,TO_DATE('2013-03-24 21:20:43','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:20:43','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:20:44 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201892 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:20:44 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53324,10,'N','N',210209,'Y',201893,'N','The Document Type determines document sequence and processing rules','U','Document type or rules','Document Type','Y','N','384fc5d9-fcc7-43f4-8de1-dbbe912aedef',100,0,TO_DATE('2013-03-24 21:20:44','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2013-03-24 21:20:44','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:20:44 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201893 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201892
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=201893
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59118
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59367
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59368
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59369
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59119
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59121
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59120
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59122
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59123
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59370
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59371
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59124
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59372
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59373
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59374
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59375
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59376
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59377
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59125
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59378
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59126
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59379
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=200159
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59127
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59380
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59381
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59382
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59383
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59384
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59385
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59386
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59387
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59388
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59389
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59390
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59393
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=59394
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201892
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=59115
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=59116
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=59117
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=201893
;
-- Mar 24, 2013 9:21:50 PM ICT
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2013-03-24 21:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201893
;
-- Mar 24, 2013 9:22:12 PM ICT
UPDATE AD_Menu SET Name='Create Asset From Project',Updated=TO_DATE('2013-03-24 21:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=200006
;
-- Mar 24, 2013 9:22:12 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=200006
;
-- Mar 24, 2013 9:22:42 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2013-03-24 21:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53175
;
-- Mar 24, 2013 9:22:46 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2013-03-24 21:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53176
;
-- Mar 24, 2013 9:31:15 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56075
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56075
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56069
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56063
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56052
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56064
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56057
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56073
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56074
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56068
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56078
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56079
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56076
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56077
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56080
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56062
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=56053
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=56054
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=56055
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=56056
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=59256
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=59258
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=59259
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=59260
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=59261
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=56065
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=59262
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=56066
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=56067
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=59263
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=150,IsDisplayedGrid='Y' WHERE AD_Field_ID=56070
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=160,IsDisplayedGrid='Y' WHERE AD_Field_ID=56071
;
-- Mar 24, 2013 9:31:19 PM ICT
UPDATE AD_Field SET SeqNoGrid=170,IsDisplayedGrid='Y' WHERE AD_Field_ID=59264
;
-- Mar 24, 2013 9:31:19 PM ICT
UPDATE AD_Field SET SeqNoGrid=180,IsDisplayedGrid='Y' WHERE AD_Field_ID=56072
;
-- Mar 24, 2013 9:31:19 PM ICT
UPDATE AD_Field SET SeqNoGrid=190,IsDisplayedGrid='Y' WHERE AD_Field_ID=59265
;
-- Mar 24, 2013 9:31:50 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-24 21:31:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59403
;
-- Mar 24, 2013 9:31:56 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Conv_F_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:31:57 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Conv_F_ID NULL
;
-- Mar 24, 2013 9:32:06 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-24 21:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59404
;
-- Mar 24, 2013 9:32:10 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Conv_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:32:10 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Conv_ID NULL
;
-- Mar 24, 2013 9:32:21 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-24 21:32:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59405
;
-- Mar 24, 2013 9:32:24 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Method_F_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:32:24 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Method_F_ID NULL
;
-- Mar 24, 2013 9:32:34 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-24 21:32:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59402
;
-- Mar 24, 2013 9:32:38 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Method_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:32:38 PM ICT
ALTER TABLE A_Asset_Group_Acct MODIFY A_Depreciation_Method_ID NULL
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59260
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59261
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59258
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59259
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56065
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56066
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59262
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56067
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59263
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56070
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56071
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56072
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59264
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59265
;
-- Mar 24, 2013 9:33:18 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-24 21:33:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59307
;
-- Mar 24, 2013 9:33:22 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Conv_F_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:33:22 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Conv_F_ID NULL
;
-- Mar 24, 2013 9:33:33 PM ICT
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2013-03-24 21:33:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55632
;
-- Mar 24, 2013 9:33:37 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Conv_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:33:37 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Conv_ID NULL
;
-- Mar 24, 2013 9:33:44 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_DATE('2013-03-24 21:33:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59305
;
-- Mar 24, 2013 9:33:46 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Method_F_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:33:46 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Method_F_ID NULL
;
-- Mar 24, 2013 9:33:51 PM ICT
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2013-03-24 21:33:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55628
;
-- Mar 24, 2013 9:33:53 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Method_ID NUMBER(10) DEFAULT NULL
;
-- Mar 24, 2013 9:33:53 PM ICT
ALTER TABLE A_Asset_Acct MODIFY A_Depreciation_Method_ID NULL
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55877
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59033
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55876
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59032
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55880
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55881
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=55882
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59034
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59035
;
-- Mar 24, 2013 9:34:35 PM ICT
UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2013-03-24 21:34:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=451
;
-- Mar 24, 2013 9:34:45 PM ICT
UPDATE AD_Tab SET IsActive='N',Updated=TO_DATE('2013-03-24 21:34:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53164
;
-- Mar 24, 2013 9:36:18 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2013-03-24 21:36:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53138
;
-- Mar 24, 2013 9:36:21 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_DATE('2013-03-24 21:36:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53136
;
-- Mar 24, 2013 9:37:19 PM ICT
UPDATE AD_Menu SET Name='Asset Transactions ', Description='Asset Transactions (Addition, Disposal, Split & Transfer)',Updated=TO_DATE('2013-03-24 21:37:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53139
;
-- Mar 24, 2013 9:37:19 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53139
;
-- Mar 24, 2013 9:39:55 PM ICT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,IsOrgLevelSequence,StartNo,StartNewMonth) VALUES ('N',100,'N',1000000,'N','Y',200070,'Asset Addition',1,'bb13be47-97be-4334-b9de-b10d31722bac',0,11,TO_DATE('2013-03-24 21:39:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-03-24 21:39:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','N',1000000,'N')
;
-- Mar 24, 2013 9:40:10 PM ICT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,IsOrgLevelSequence,StartNo,StartNewMonth) VALUES ('N',100,'N',1000000,'N','Y',200071,'Asset Depreciation',1,'d134f7ea-3d17-43e1-82a1-45764d57a835',0,11,TO_DATE('2013-03-24 21:40:09','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-03-24 21:40:09','YYYY-MM-DD HH24:MI:SS'),100,'Y','N',1000000,'N')
;
-- Mar 24, 2013 9:40:18 PM ICT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,IsOrgLevelSequence,StartNo,StartNewMonth) VALUES ('N',100,'N',1000000,'N','Y',200072,'Asset Disposal',1,'a30f77d3-1d39-4ec4-8187-bb402877f605',0,11,TO_DATE('2013-03-24 21:40:16','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2013-03-24 21:40:16','YYYY-MM-DD HH24:MI:SS'),100,'Y','N',1000000,'N')
;
-- Mar 24, 2013 9:40:29 PM ICT
INSERT INTO C_DocType (DocNoSequence_ID,GL_Category_ID,C_DocType_ID,IsDefault,DocBaseType,IsSOTrx,DocumentCopies,IsCreateCounter,IsIndexed,IsShipConfirm,IsSplitWhenDifference,IsDefaultCounterDoc,IsInTransit,IsPickQAConfirm,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,C_DocType_UU,IsPrepareSplitDocument,PrintName,Name,IsDocNoControlled,HasCharges,HasProforma,CreatedBy,UpdatedBy,Updated,AD_Org_ID,IsActive,Created,AD_Client_ID,IsChargeOrProductMandatory) VALUES (200070,108,200001,'N','FAA','N',1,'Y','Y','N','N','N','N','N','N','N','7b210fc5-489c-4ff3-9d9a-2fbe8b4c5136','Y','Asset Addition','Asset Addition','Y','N','N',100,100,TO_DATE('2013-03-24 21:40:28','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2013-03-24 21:40:28','YYYY-MM-DD HH24:MI:SS'),11,'N')
;
-- Mar 24, 2013 9:40:29 PM ICT
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,C_DocType_Trl_UU ) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,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, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=200001 AND NOT EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_DocType_ID=t.C_DocType_ID)
;
-- Mar 24, 2013 9:40:42 PM ICT
INSERT INTO C_DocType (DocNoSequence_ID,GL_Category_ID,C_DocType_ID,IsDefault,DocBaseType,IsSOTrx,DocumentCopies,IsCreateCounter,IsIndexed,IsShipConfirm,IsSplitWhenDifference,IsDefaultCounterDoc,IsInTransit,IsPickQAConfirm,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,C_DocType_UU,IsPrepareSplitDocument,PrintName,Name,IsDocNoControlled,HasCharges,HasProforma,CreatedBy,UpdatedBy,Updated,AD_Org_ID,IsActive,Created,AD_Client_ID,IsChargeOrProductMandatory) VALUES (200071,108,200002,'N','FAA','N',1,'Y','Y','N','N','N','N','N','N','N','2d0701af-23b4-4c8c-9c48-9fb238db69fb','Y','Asset Depreciation','Asset Depreciation','Y','N','N',100,100,TO_DATE('2013-03-24 21:40:41','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2013-03-24 21:40:41','YYYY-MM-DD HH24:MI:SS'),11,'N')
;
-- Mar 24, 2013 9:40:42 PM ICT
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,C_DocType_Trl_UU ) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,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, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=200002 AND NOT EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_DocType_ID=t.C_DocType_ID)
;
-- Mar 24, 2013 9:40:56 PM ICT
INSERT INTO C_DocType (DocNoSequence_ID,GL_Category_ID,C_DocType_ID,IsDefault,DocBaseType,IsSOTrx,DocumentCopies,IsCreateCounter,IsIndexed,IsShipConfirm,IsSplitWhenDifference,IsDefaultCounterDoc,IsInTransit,IsPickQAConfirm,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,C_DocType_UU,IsPrepareSplitDocument,PrintName,Name,IsDocNoControlled,HasCharges,HasProforma,CreatedBy,UpdatedBy,Updated,AD_Org_ID,IsActive,Created,AD_Client_ID,IsChargeOrProductMandatory) VALUES (200072,108,200003,'N','FAA','N',1,'Y','Y','N','N','N','N','N','N','N','0fac34f1-aa81-49d7-be50-88b566ca81c8','Y','Asset Disposal','Asset Disposal','Y','N','N',100,100,TO_DATE('2013-03-24 21:40:55','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2013-03-24 21:40:55','YYYY-MM-DD HH24:MI:SS'),11,'N')
;
-- Mar 24, 2013 9:40:56 PM ICT
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,C_DocType_Trl_UU ) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,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, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=200003 AND NOT EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_DocType_ID=t.C_DocType_ID)
;
-- Mar 24, 2013 9:43:42 PM ICT
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2013-03-24 21:43:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55803
;
-- Mar 24, 2013 9:44:04 PM ICT
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2013-03-24 21:44:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59395
;
SELECT register_migration_script('201304170928_IDEMPIERE-796_2.sql') FROM dual
;

View File

@ -0,0 +1,481 @@
-- Apr 4, 2013 1:15:30 PM ICT
-- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59143
;
-- Apr 4, 2013 1:20:03 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59143
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59144
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59144
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59145
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59145
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59146
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59146
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59147
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59147
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59148
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59148
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59149
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59149
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59150
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59150
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59151
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59151
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59152
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59152
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59153
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59153
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59154
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59154
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59155
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59155
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59156
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59156
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59157
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59157
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59158
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59158
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59159
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59159
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59160
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59160
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59161
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59161
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59162
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59162
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59163
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59163
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59164
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59164
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59165
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59165
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59166
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59166
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59167
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59167
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59168
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59168
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59169
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59169
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59170
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59170
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59171
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59171
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59172
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59172
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59173
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59173
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59174
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59174
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59175
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59175
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59176
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59176
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59177
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59177
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59178
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59178
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59179
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59179
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59180
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59180
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59181
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59181
;
-- Apr 4, 2013 1:20:12 PM ICT
DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53326
;
-- Apr 4, 2013 1:20:13 PM ICT
DELETE FROM AD_Tab WHERE AD_Tab_ID=53326
;
-- Apr 4, 2013 1:21:43 PM ICT
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
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
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=55813
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=55808
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=55809
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55810
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55811
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=55812
;
-- Apr 4, 2013 1:23:25 PM ICT
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
UPDATE AD_Field SET IsActive='N' WHERE AD_Column_ID=55559
;
-- Apr 4, 2013 1:23:38 PM ICT
UPDATE AD_Column SET IsActive='N' WHERE AD_Column_ID=55559
;
-- Apr 4, 2013 1:23:38 PM ICT
-- 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
;

View File

@ -0,0 +1,144 @@
-- 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
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
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
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
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
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56065
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56066
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59262
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56067
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59263
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56070
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56071
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56072
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59264
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59265
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55879
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55867
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55870
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59030
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=55880
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55881
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55882
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59034
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59035
;
-- Apr 10, 2013 9:43:38 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56205
;
-- Apr 10, 2013 9:44:15 PM ICT
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
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
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
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
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
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
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
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
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
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
;

View File

@ -0,0 +1,104 @@
-- Apr 17, 2013 11:37:25 AM COT
-- IDEMPIERE-294 BroadCast Message
UPDATE AD_Process SET AccessLevel='6',Updated=TO_DATE('2013-04-17 11:37:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018
;
-- Apr 17, 2013 11:38:05 AM COT
UPDATE AD_Process SET Description='Expire Broadcast Message', Name='Expire Broadcast Message', Value='AD_ExpireBroadcastMessage',Updated=TO_DATE('2013-04-17 11:38:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018
;
-- Apr 17, 2013 11:41:26 AM COT
UPDATE AD_Process SET Name='Test Broadcast Message', Value='AD_TestBroadcastMessage',Updated=TO_DATE('2013-04-17 11:41:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200020
;
-- Apr 17, 2013 11:41:45 AM COT
UPDATE AD_Process SET Value='AD_PublishBroadcastMessage',Updated=TO_DATE('2013-04-17 11:41:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019
;
-- Apr 17, 2013 11:50:44 AM COT
UPDATE AD_Column SET IsToolbarButton='N',Updated=TO_DATE('2013-04-17 11:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200994
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=40, ColumnSpan=1,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200876
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=50, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200872
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=60, ColumnSpan=1,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200888
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=70, IsDisplayed='Y', XPosition=3,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200882
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=80, IsDisplayed='Y', XPosition=3,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200887
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=90, IsDisplayed='Y', XPosition=3,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200890
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=100, ColumnSpan=1,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200873
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=110, IsDisplayed='Y', XPosition=3, ColumnSpan=2,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200879
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=120, IsDisplayed='Y', XPosition=6, ColumnSpan=1,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200881
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=130, IsDisplayed='Y', XPosition=2, ColumnSpan=2,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=140, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200885
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=150, IsDisplayed='Y', XPosition=2,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=160,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200880
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=170,Updated=TO_DATE('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200886
;
-- Apr 17, 2013 12:00:12 PM COT
UPDATE AD_Field SET EntityType='D', Name='Test Broadcast Message',Updated=TO_DATE('2013-04-17 12:00:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889
;
-- Apr 17, 2013 12:01:05 PM COT
UPDATE AD_Field SET DisplayLogic='@IsPublished@=N', EntityType='D', Description='Publish Broadcast Message', Name='Publish Broadcast Message',Updated=TO_DATE('2013-04-17 12:01:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200885
;
-- Apr 17, 2013 12:01:13 PM COT
UPDATE AD_Field SET DisplayLogic='@IsPublished@=N',Updated=TO_DATE('2013-04-17 12:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889
;
-- Apr 17, 2013 12:01:54 PM COT
UPDATE AD_Field SET DisplayLogic='@IsPublished@=Y & @Expired@=N',Updated=TO_DATE('2013-04-17 12:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878
;
-- Apr 17, 2013 12:02:05 PM COT
UPDATE AD_Field SET EntityType='D',Updated=TO_DATE('2013-04-17 12:02:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878
;
-- Apr 17, 2013 12:02:39 PM COT
UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_DATE('2013-04-17 12:02:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200033
;
SELECT register_migration_script('201304171142_IDEMPIERE-294.sql') FROM dual
;

View File

@ -0,0 +1,513 @@
CREATE UNIQUE INDEX m_packagemps_uu_idx ON m_packagemps (m_packagemps_uu)
;
CREATE UNIQUE INDEX c_depositbatch_uu_idx ON c_depositbatch (c_depositbatch_uu)
;
CREATE UNIQUE INDEX c_1099box_uu_idx ON c_1099box (c_1099box_uu)
;
CREATE UNIQUE INDEX c_onlinetrxhistory_uu_idx ON c_onlinetrxhistory (c_onlinetrxhistory_uu)
;
CREATE UNIQUE INDEX m_shippingprocessorcfg_uu_idx ON m_shippingprocessorcfg (m_shippingprocessorcfg_uu)
;
CREATE UNIQUE INDEX t_1099extract_uu_idx ON t_1099extract (t_1099extract_uu)
;
CREATE UNIQUE INDEX m_shipperpackaging_uu_idx ON m_shipperpackaging (m_shipperpackaging_uu)
;
CREATE UNIQUE INDEX m_shippingtransactionli_uu_idx ON m_shippingtransactionline (m_shippingtransactionline_uu)
;
CREATE UNIQUE INDEX m_shippercfg_uu_idx ON m_shippercfg (m_shippercfg_uu)
;
CREATE UNIQUE INDEX m_rmatax_uu_idx ON m_rmatax (m_rmatax_uu)
;
CREATE UNIQUE INDEX m_shipperpickuptypescfg_uu_idx ON m_shipperpickuptypescfg (m_shipperpickuptypescfg_uu)
;
CREATE UNIQUE INDEX ad_storageprovider_uu_idx ON ad_storageprovider (ad_storageprovider_uu)
;
CREATE UNIQUE INDEX ws_webservice_para_uu_idx ON ws_webservice_para (ws_webservice_para_uu)
;
CREATE UNIQUE INDEX ws_webservicefieldoutpu_uu_idx ON ws_webservicefieldoutput (ws_webservicefieldoutput_uu)
;
CREATE UNIQUE INDEX ad_ctxhelpmsg_trl_uu_idx ON ad_ctxhelpmsg_trl (ad_ctxhelpmsg_trl_uu)
;
CREATE UNIQUE INDEX c_depositbatchline_uu_idx ON c_depositbatchline (c_depositbatchline_uu)
;
CREATE UNIQUE INDEX m_shippingprocessor_uu_idx ON m_shippingprocessor (m_shippingprocessor_uu)
;
CREATE UNIQUE INDEX c_paymenttransaction_uu_idx ON c_paymenttransaction (c_paymenttransaction_uu)
;
CREATE UNIQUE INDEX m_commodityshipment_uu_idx ON m_commodityshipment (m_commodityshipment_uu)
;
CREATE UNIQUE INDEX ws_webservicetypeaccess_uu_idx ON ws_webservicetypeaccess (ws_webservicetypeaccess_uu)
;
CREATE UNIQUE INDEX ad_ctxhelp_uu_idx ON ad_ctxhelp (ad_ctxhelp_uu)
;
CREATE UNIQUE INDEX ws_webservicetype_uu_idx ON ws_webservicetype (ws_webservicetype_uu)
;
CREATE UNIQUE INDEX m_shipperpackagingcfg_uu_idx ON m_shipperpackagingcfg (m_shipperpackagingcfg_uu)
;
CREATE UNIQUE INDEX c_bp_shippingacct_uu_idx ON c_bp_shippingacct (c_bp_shippingacct_uu)
;
CREATE UNIQUE INDEX m_shipperlabels_uu_idx ON m_shipperlabels (m_shipperlabels_uu)
;
CREATE UNIQUE INDEX m_shipperlabelscfg_uu_idx ON m_shipperlabelscfg (m_shipperlabelscfg_uu)
;
CREATE UNIQUE INDEX m_shipperpickuptypes_uu_idx ON m_shipperpickuptypes (m_shipperpickuptypes_uu)
;
CREATE UNIQUE INDEX m_shippingtransaction_uu_idx ON m_shippingtransaction (m_shippingtransaction_uu)
;
CREATE UNIQUE INDEX ad_broadcastmessage_uu_idx ON ad_broadcastmessage (ad_broadcastmessage_uu)
;
CREATE UNIQUE INDEX ws_webservicefieldinput_uu_idx ON ws_webservicefieldinput (ws_webservicefieldinput_uu)
;
CREATE UNIQUE INDEX ad_ctxhelpmsg_uu_idx ON ad_ctxhelpmsg (ad_ctxhelpmsg_uu)
;
CREATE UNIQUE INDEX ad_infowindow_access_uu_idx ON ad_infowindow_access (ad_infowindow_access_uu)
;
ALTER TABLE AD_BroadcastMessage ADD CONSTRAINT NotificationClient_ADBroadcast FOREIGN KEY (Notification_Client_ID) REFERENCES AD_Client DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_BroadcastMessage ADD CONSTRAINT ADRole_ADBroadcastMessage FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_BroadcastMessage ADD CONSTRAINT ADUser_ADBroadcastMessage FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE ad_storageprovider ADD CONSTRAINT ad_storageprovider_pkey PRIMARY KEY (ad_storageprovider_id)
;
ALTER TABLE AD_ClientInfo ADD CONSTRAINT ADStorageProvider_ADClientInfo FOREIGN KEY (AD_StorageProvider_ID) REFERENCES AD_StorageProvider DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_ClientInfo ADD CONSTRAINT StorageArchive_ADClientInfo FOREIGN KEY (StorageArchive_ID) REFERENCES AD_StorageProvider DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_ClientInfo ADD CONSTRAINT CChargeFreight_ADClientInfo FOREIGN KEY (C_ChargeFreight_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_CtxHelpMsg ADD CONSTRAINT ADCtxHelp_ADCtxHelpMsg FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_CtxHelpMsg_Trl ADD CONSTRAINT ADCtxHelpMsg_ADCtxHelpMsgTrl FOREIGN KEY (AD_CtxHelpMsg_ID) REFERENCES AD_CtxHelpMsg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_CtxHelpMsg_Trl ADD CONSTRAINT ADLangu_ADCtxHelpMsgTrl FOREIGN KEY (AD_Language) REFERENCES AD_Language DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Form ADD CONSTRAINT ADCtxHelp_ADForm FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoColumn ADD CONSTRAINT ADReferenceValue_ADInfoColumn FOREIGN KEY (AD_Reference_Value_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoColumn ADD CONSTRAINT ADValRule_ADInfoColumn FOREIGN KEY (AD_Val_Rule_ID) REFERENCES AD_Val_Rule DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoWindow ADD CONSTRAINT ADCtxHelp_ADInfoWindow FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoWindow_Access ADD CONSTRAINT ADInfoWindow_ADInfoWindowAcces FOREIGN KEY (AD_InfoWindow_ID) REFERENCES AD_InfoWindow DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoWindow_Access ADD CONSTRAINT ADRole_ADInfoWindowAccess FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Language ADD CONSTRAINT ADPrintPaper_ADLanguage FOREIGN KEY (AD_PrintPaper_ID) REFERENCES AD_PrintPaper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Menu ADD CONSTRAINT ADInfoWindow_ADMenu FOREIGN KEY (AD_InfoWindow_ID) REFERENCES AD_InfoWindow DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Note ADD CONSTRAINT ADBroadcastMessage_ADNote FOREIGN KEY (AD_BroadcastMessage_ID) REFERENCES AD_BroadcastMessage DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Package_Exp_Detail ADD CONSTRAINT ADValRule_ADPackageExpDetail FOREIGN KEY (AD_Val_Rule_ID) REFERENCES AD_Val_Rule DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Process ADD CONSTRAINT ADCtxHelp_ADProcess FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Ref_Table ADD CONSTRAINT ADInfoWindow_ADRefTable FOREIGN KEY (AD_InfoWindow_ID) REFERENCES AD_InfoWindow DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Tab ADD CONSTRAINT ADCtxHelp_ADTab FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Task ADD CONSTRAINT ADCtxHelp_ADTask FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_UserDef_Field ADD CONSTRAINT ADReference_ADUserDefField FOREIGN KEY (AD_Reference_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_UserDef_Field ADD CONSTRAINT ADReferenceValue_ADUserDefFiel FOREIGN KEY (AD_Reference_Value_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_WF_Node ADD CONSTRAINT ADCtxHelp_ADWFNode FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_WizardProcess ADD CONSTRAINT ADUser_ADWizardProcess FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Workflow ADD CONSTRAINT ADCtxHelp_ADWorkflow FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_AllocationHdr ADD CONSTRAINT Reversal_CAllocationHdr FOREIGN KEY (Reversal_ID) REFERENCES C_AllocationHdr DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BankAccount_Processor ADD CONSTRAINT CCurrency_CBankAccountProcesso FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BPartner ADD CONSTRAINT Default1099Box_CBPartner FOREIGN KEY (Default1099Box_ID) REFERENCES C_1099Box DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_BankAccount ADD CONSTRAINT CPaymentProcessor_CBPBankAccou FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_ShippingAcct ADD CONSTRAINT CBPartner_CBPShippingAcct FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_ShippingAcct ADD CONSTRAINT CBPartnerLocation_CBPShippingA FOREIGN KEY (C_BPartner_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_ShippingAcct ADD CONSTRAINT MShippingProcessor_CBPShipping FOREIGN KEY (M_ShippingProcessor_ID) REFERENCES M_ShippingProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatch ADD CONSTRAINT CBankAccount_CDepositBatch FOREIGN KEY (C_BankAccount_ID) REFERENCES C_BankAccount DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatch ADD CONSTRAINT CDocType_CDepositBatch FOREIGN KEY (C_DocType_ID) REFERENCES C_DocType DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatchLine ADD CONSTRAINT CDepositBatch_CDepositBatchLin FOREIGN KEY (C_DepositBatch_ID) REFERENCES C_DepositBatch DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatchLine ADD CONSTRAINT CPayment_CDepositBatchLine FOREIGN KEY (C_Payment_ID) REFERENCES C_Payment DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_InvoiceLine ADD CONSTRAINT C1099Box_CInvoiceLine FOREIGN KEY (C_1099Box_ID) REFERENCES C_1099Box DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_OnlineTrxHistory ADD CONSTRAINT ADTable_COnlineTrxHistory FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_Payment ADD CONSTRAINT CDepositBatch_CPayment FOREIGN KEY (C_DepositBatch_ID) REFERENCES C_DepositBatch DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT ADOrgTrx_CPaymentTransaction FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CActivity_CPaymentTransaction FOREIGN KEY (C_Activity_ID) REFERENCES C_Activity DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CBankAccount_CPaymentTransacti FOREIGN KEY (C_BankAccount_ID) REFERENCES C_BankAccount DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CBPartner_CPaymentTransaction FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CBPBankAccount_CPaymentTransac FOREIGN KEY (C_BP_BankAccount_ID) REFERENCES C_BP_BankAccount DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCampaign_CPaymentTransaction FOREIGN KEY (C_Campaign_ID) REFERENCES C_Campaign DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCashBook_CPaymentTransaction FOREIGN KEY (C_CashBook_ID) REFERENCES C_CashBook DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCharge_CPaymentTransaction FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CConversionType_CPaymentTransa FOREIGN KEY (C_ConversionType_ID) REFERENCES C_ConversionType DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCurrency_CPaymentTransaction FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT User1_CPaymentTransaction FOREIGN KEY (User1_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT User2_CPaymentTransaction FOREIGN KEY (User2_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CInvoice_CPaymentTransaction FOREIGN KEY (C_Invoice_ID) REFERENCES C_Invoice DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT COrder_CPaymentTransaction FOREIGN KEY (C_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPayment_CPaymentTransaction FOREIGN KEY (C_Payment_ID) REFERENCES C_Payment DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPaymentBatch_CPaymentTransact FOREIGN KEY (C_PaymentBatch_ID) REFERENCES C_PaymentBatch DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPaymentProcessor_CPaymentTran FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT RefPaymentTransaction_CPayment FOREIGN KEY (Ref_PaymentTransaction_ID) REFERENCES C_PaymentTransaction DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPOSTenderType_CPaymentTransac FOREIGN KEY (C_POSTenderType_ID) REFERENCES C_POSTenderType DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CProject_CPaymentTransaction FOREIGN KEY (C_Project_ID) REFERENCES C_Project DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE DD_Order ADD CONSTRAINT RefOrder_DDOrder FOREIGN KEY (Ref_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE I_Invoice ADD CONSTRAINT C1099Box_IInvoice FOREIGN KEY (C_1099Box_ID) REFERENCES C_1099Box DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_CommodityShipment ADD CONSTRAINT MProduct_MCommodityShipment FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ForecastLine ADD CONSTRAINT SalesRep_MForecastLine FOREIGN KEY (SalesRep_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_InOut ADD CONSTRAINT ReturnUser_MInOut FOREIGN KEY (ReturnUser_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_InOut ADD CONSTRAINT ReturnBPartner_MInOut FOREIGN KEY (ReturnBPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_InOut ADD CONSTRAINT ReturnLocation_MInOut FOREIGN KEY (ReturnLocation_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_MatchInv ADD CONSTRAINT Reversal_MMatchInv FOREIGN KEY (Reversal_ID) REFERENCES M_MatchInv DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_MatchPO ADD CONSTRAINT Reversal_MMatchPO FOREIGN KEY (Reversal_ID) REFERENCES M_MatchPO DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CBPartnerLocation_MPackage FOREIGN KEY (C_BPartner_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CBPShippingAcct_MPackage FOREIGN KEY (C_BP_ShippingAcct_ID) REFERENCES C_BP_ShippingAcct DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CCurrency_MPackage FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CUOMLength_MPackage FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CUOMWeight_MPackage FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT MShipperLabels_MPackage FOREIGN KEY (M_ShipperLabels_ID) REFERENCES M_ShipperLabels DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT MShipperPackaging_MPackage FOREIGN KEY (M_ShipperPackaging_ID) REFERENCES M_ShipperPackaging DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT MShipperPickupTypes_MPackage FOREIGN KEY (M_ShipperPickupTypes_ID) REFERENCES M_ShipperPickupTypes DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageLine ADD CONSTRAINT MPackageMPS_MPackageLine FOREIGN KEY (M_PackageMPS_ID) REFERENCES M_PackageMPS DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageLine ADD CONSTRAINT MProduct_MPackageLine FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageMPS ADD CONSTRAINT CUOMLength_MPackageMPS FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageMPS ADD CONSTRAINT CUOMWeight_MPackageMPS FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageMPS ADD CONSTRAINT MPackage_MPackageMPS FOREIGN KEY (M_Package_ID) REFERENCES M_Package DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Production ADD CONSTRAINT CBPartner_MProduction FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMALine ADD CONSTRAINT CTax_MRMALine FOREIGN KEY (C_Tax_ID) REFERENCES C_Tax DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMALine ADD CONSTRAINT MProduct_MRMALine FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMATax ADD CONSTRAINT CTax_MRMATax FOREIGN KEY (C_Tax_ID) REFERENCES C_Tax DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMATax ADD CONSTRAINT MRMA_MRMATax FOREIGN KEY (M_RMA_ID) REFERENCES M_RMA DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Shipper ADD CONSTRAINT MShipperCfg_MShipper FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Shipper ADD CONSTRAINT MShippingProcessor_MShipper FOREIGN KEY (M_ShippingProcessor_ID) REFERENCES M_ShippingProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperCfg ADD CONSTRAINT MShippingProcessorCfg_MShipper FOREIGN KEY (M_ShippingProcessorCfg_ID) REFERENCES M_ShippingProcessorCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperLabels ADD CONSTRAINT MShipper_MShipperLabels FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperLabels ADD CONSTRAINT MShipperLabelsCfg_MShipperLabe FOREIGN KEY (M_ShipperLabelsCfg_ID) REFERENCES M_ShipperLabelsCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperLabelsCfg ADD CONSTRAINT MShipperCfg_MShipperLabelsCfg FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPackaging ADD CONSTRAINT MShipper_MShipperPackaging FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPackaging ADD CONSTRAINT MShipperPackagingCfg_MShipperP FOREIGN KEY (M_ShipperPackagingCfg_ID) REFERENCES M_ShipperPackagingCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPackagingCfg ADD CONSTRAINT MShipperCfg_MShipperPackagingC FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPickupTypes ADD CONSTRAINT MShipper_MShipperPickupTypes FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPickupTypes ADD CONSTRAINT MShipperPickupTypesCfg_MShippe FOREIGN KEY (M_ShipperPickupTypesCfg_ID) REFERENCES M_ShipperPickupTypesCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPickupTypesCfg ADD CONSTRAINT MShipperCfg_MShipperPickupType FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingProcessor ADD CONSTRAINT MShippingProcessorCfg_MShippin FOREIGN KEY (M_ShippingProcessorCfg_ID) REFERENCES M_ShippingProcessorCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ADUser_MShippingTransaction FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ReturnUser_MShippingTransactio FOREIGN KEY (ReturnUser_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT SalesRep_MShippingTransaction FOREIGN KEY (SalesRep_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CBPartner_MShippingTransaction FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ReturnBPartner_MShippingTransa FOREIGN KEY (ReturnBPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT BillLocation_MShippingTransact FOREIGN KEY (Bill_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CBPartnerLocation_MShippingTra FOREIGN KEY (C_BPartner_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ReturnLocation_MShippingTransa FOREIGN KEY (ReturnLocation_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CBPShippingAcct_MShippingTrans FOREIGN KEY (C_BP_ShippingAcct_ID) REFERENCES C_BP_ShippingAcct DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CCurrency_MShippingTransaction FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CInvoice_MShippingTransaction FOREIGN KEY (C_Invoice_ID) REFERENCES C_Invoice DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT COrder_MShippingTransaction FOREIGN KEY (C_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CUOMLength_MShippingTransactio FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CUOMWeight_MShippingTransactio FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MInOut_MShippingTransaction FOREIGN KEY (M_InOut_ID) REFERENCES M_InOut DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MPackage_MShippingTransaction FOREIGN KEY (M_Package_ID) REFERENCES M_Package DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipper_MShippingTransaction FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipperLabels_MShippingTransa FOREIGN KEY (M_ShipperLabels_ID) REFERENCES M_ShipperLabels DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipperPackaging_MShippingTra FOREIGN KEY (M_ShipperPackaging_ID) REFERENCES M_ShipperPackaging DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipperPickupTypes_MShippingT FOREIGN KEY (M_ShipperPickupTypes_ID) REFERENCES M_ShipperPickupTypes DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShippingProcessor_MShippingTr FOREIGN KEY (M_ShippingProcessor_ID) REFERENCES M_ShippingProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MWarehouse_MShippingTransactio FOREIGN KEY (M_Warehouse_ID) REFERENCES M_Warehouse DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT CUOMLength_MShippingTransactLn FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT CUOMWeight_MShippingTransactLn FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT MPackageMPS_MShippingTransacti FOREIGN KEY (M_PackageMPS_ID) REFERENCES M_PackageMPS DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT MShippingTransaction_MShipping FOREIGN KEY (M_ShippingTransaction_ID) REFERENCES M_ShippingTransaction DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageOnHand ADD CONSTRAINT MProduct_MStorageOnHand FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageReservation ADD CONSTRAINT MProduct_MStorageReservation FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageReservation ADD CONSTRAINT MWarehouse_MStorageReservation FOREIGN KEY (M_Warehouse_ID) REFERENCES M_Warehouse DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Warehouse ADD CONSTRAINT MReserveLocator_MWarehouse FOREIGN KEY (M_ReserveLocator_ID) REFERENCES M_Locator DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE WS_WebServiceFieldInput ADD CONSTRAINT ADReference_WSWebServiceFieldI FOREIGN KEY (AD_Reference_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE WS_WebServiceFieldInput ADD CONSTRAINT ADReferenceValue_WSWebServiceF FOREIGN KEY (AD_Reference_Value_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageOnHand ADD CONSTRAINT MAttributeSetInstance_MStoraOH FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageOnHand ADD CONSTRAINT MLocator_MStorageOnHand FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageReservation ADD CONSTRAINT MAttributeSetInstance_MStoraRe FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED
;
SELECT register_migration_script('201304181526_IdxFKs.sql') FROM dual
;

View File

@ -0,0 +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
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
;

View File

@ -0,0 +1,931 @@
-- Mar 24, 2013 8:41:39 PM ICT
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 (200139,183,'U','Fixed Assets Document','fef8f9ac-de6a-4ea9-b117-3a6bcfb2f3d4','FAA',TO_TIMESTAMP('2013-03-24 20:41:37','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-03-24 20:41:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0)
;
-- Mar 24, 2013 8:41:39 PM ICT
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=200139 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)
;
-- Mar 24, 2013 8:42:03 PM ICT
UPDATE AD_Ref_List SET EntityType='D',Updated=TO_TIMESTAMP('2013-03-24 20:42:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200139
;
-- Mar 24, 2013 8:44:07 PM ICT
INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,AD_Client_ID,IsActive,AD_Org_ID) VALUES ('C_DocType.DocBaseType=''FAA'' AND C_DocType.AD_Org_ID IN (0, @AD_Org_ID@)',200035,'D','C_DocType Fixed Assets','S','7305a6f8-6b50-498e-b5ec-c1dc94902817',100,100,TO_TIMESTAMP('2013-03-24 20:44:05','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2013-03-24 20:44:05','YYYY-MM-DD HH24:MI:SS'),0,'Y',0)
;
-- Mar 24, 2013 8:44:23 PM ICT
UPDATE AD_Column SET AD_Val_Rule_ID=200035,Updated=TO_TIMESTAMP('2013-03-24 20:44:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55563
;
-- Mar 24, 2013 8:56:46 PM ICT
UPDATE AD_Menu SET Name='Asset Disposal', Description='Dispose of Assets',Updated=TO_TIMESTAMP('2013-03-24 20:56:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:56:46 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Window SET Description='Dispose of Assets',Updated=TO_TIMESTAMP('2013-03-24 20:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Menu SET Name='Asset Activation/Disposal', Description='Dispose of Assets', IsActive='Y',Updated=TO_TIMESTAMP('2013-03-24 20:57:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:57:45 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Window SET Name='Asset Disposal2', IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 20:58:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53049
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53049
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Menu SET Name='Asset Disposal2', Description='Dispose of Assets', IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 20:58:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53145
;
-- Mar 24, 2013 8:58:07 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53145
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Window SET Name='Asset Disposal',Updated=TO_TIMESTAMP('2013-03-24 20:58:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Window_Trl SET IsTranslated='N' WHERE AD_Window_ID=53114
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Menu SET Name='Asset Disposal', Description='Dispose of Assets', IsActive='Y',Updated=TO_TIMESTAMP('2013-03-24 20:58:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 8:58:15 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53274
;
-- Mar 24, 2013 9:14:57 PM ICT
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,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted) VALUES (0,'N',0,53137,210209,'U','N','N','N',0,'N',10,'N',19,200035,'N',196,'N','Y','34a3e305-8dd5-4e41-9953-8dbde442ceaf','Y','C_DocType_ID','Document type or rules','The Document Type determines document sequence and processing rules','Document Type','Y',TO_TIMESTAMP('2013-03-24 21:14:55','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',TO_TIMESTAMP('2013-03-24 21:14:55','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N','N')
;
-- Mar 24, 2013 9:14:57 PM ICT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, 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_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=210209 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- Mar 24, 2013 9:15:05 PM ICT
ALTER TABLE A_Asset_Addition ADD COLUMN C_DocType_ID NUMERIC(10) DEFAULT NULL
;
-- Mar 24, 2013 9:15:42 PM ICT
UPDATE AD_Tab SET Name='Asset Disposal', Description='Process the Disposal',Updated=TO_TIMESTAMP('2013-03-24 21:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53325
;
-- Mar 24, 2013 9:15:42 PM ICT
UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53325
;
-- Mar 24, 2013 9:16:12 PM ICT
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,AD_Client_ID,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted) VALUES (0,'N',0,53127,210210,'U','N','N','N',0,'N',10,'N',19,200035,'N',196,'N','Y','928a0f0a-da92-405a-bedc-176cee363dee','Y','C_DocType_ID','Document type or rules','The Document Type determines document sequence and processing rules','Document Type','Y',TO_TIMESTAMP('2013-03-24 21:16:11','YYYY-MM-DD HH24:MI:SS'),100,0,'Y',TO_TIMESTAMP('2013-03-24 21:16:11','YYYY-MM-DD HH24:MI:SS'),100,0,'N','N','N')
;
-- Mar 24, 2013 9:16:12 PM ICT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, 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_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=210210 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;
-- Mar 24, 2013 9:16:18 PM ICT
ALTER TABLE A_Asset_Disposed ADD COLUMN C_DocType_ID NUMERIC(10) DEFAULT NULL
;
-- Mar 24, 2013 9:16:33 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:16:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53127
;
-- Mar 24, 2013 9:16:50 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:16:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53123
;
-- Mar 24, 2013 9:17:01 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:17:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53130
;
-- Mar 24, 2013 9:17:04 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53132
;
-- Mar 24, 2013 9:17:06 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:17:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53135
;
-- Mar 24, 2013 9:17:09 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53134
;
-- Mar 24, 2013 9:17:11 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:17:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53136
;
-- Mar 24, 2013 9:17:31 PM ICT
UPDATE AD_Table SET AccessLevel='3',Updated=TO_TIMESTAMP('2013-03-24 21:17:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53131
;
-- Mar 24, 2013 9:17:50 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,36,'N','N',60357,'Y',201887,'N','D','A_Asset_Disposed_UU','Y','N','aa5f43db-8a63-46bb-8132-a8a0db473e36',100,0,TO_TIMESTAMP('2013-03-24 21:17:49','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:17:49','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:50 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201887 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:51 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,10,'N','N',210210,'Y',201888,'N','The Document Type determines document sequence and processing rules','U','Document type or rules','Document Type','Y','N','c28d47c5-5c1c-4040-8190-967e0ae37c5c',100,0,TO_TIMESTAMP('2013-03-24 21:17:50','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:17:50','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:51 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201888 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:52 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,10,'N','N',200075,'Y',201889,'N','The Invoice Document.','D','Invoice Identifier','Invoice','Y','N','d7270c7e-841e-49cf-bae0-8041a17d9509',100,0,TO_TIMESTAMP('2013-03-24 21:17:51','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:17:51','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:52 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201889 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:54 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,10,'N','N',200076,'Y',201890,'N','The Invoice Line uniquely identifies a single line of an Invoice.','D','Invoice Detail Line','Invoice Line','Y','N','e15d85a5-f240-414d-87ac-9cbde577caf4',100,0,TO_TIMESTAMP('2013-03-24 21:17:52','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:17:52','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:54 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201890 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:17:55 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53325,20,'N','N',59588,'Y',201891,'N','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','D','The date+time (expressed in decimal format) when the document has been processed','Processed On','Y','N','20f54461-f9f4-46e5-9262-2fad03b7f38c',100,0,TO_TIMESTAMP('2013-03-24 21:17:54','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:17:54','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:17:55 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201891 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201887
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201889
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201890
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201891
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=201888
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59396
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59136
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59138
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59139
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59137
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59140
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59402
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59141
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59405
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59398
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59401
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59399
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59400
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59403
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59404
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59406
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59408
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59407
;
-- Mar 24, 2013 9:18:22 PM ICT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59409
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201887
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=59407
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=59134
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201889
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201890
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201891
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=59135
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=59395
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=201888
;
-- Mar 24, 2013 9:18:46 PM ICT
UPDATE AD_Field SET SeqNoGrid=210,IsDisplayedGrid='Y' WHERE AD_Field_ID=59409
;
-- Mar 24, 2013 9:19:11 PM ICT
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2013-03-24 21:19:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201888
;
-- Mar 24, 2013 9:20:43 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53324,36,'N','N',60354,'Y',201892,'N','D','A_Asset_Addition_UU','Y','N','9d33d304-53c6-4aec-a126-b2e20505cfe8',100,0,TO_TIMESTAMP('2013-03-24 21:20:43','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:20:43','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:20:44 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201892 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:20:44 PM ICT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',53324,10,'N','N',210209,'Y',201893,'N','The Document Type determines document sequence and processing rules','U','Document type or rules','Document Type','Y','N','384fc5d9-fcc7-43f4-8de1-dbbe912aedef',100,0,TO_TIMESTAMP('2013-03-24 21:20:44','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2013-03-24 21:20:44','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Mar 24, 2013 9:20:44 PM ICT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,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_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=201893 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=201892
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=201893
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=59118
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=59367
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=59368
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=59369
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59119
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59121
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59120
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59122
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59123
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59370
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59371
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59124
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59372
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=59373
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=59374
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=59375
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=59376
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=59377
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=59125
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=59378
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=59126
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=59379
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=200159
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=59127
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=59380
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=59381
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=59382
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=59383
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=59384
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=59385
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=59386
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=59387
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=59388
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=59389
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=59390
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=59393
;
-- Mar 24, 2013 9:21:13 PM ICT
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=59394
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=201892
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=59115
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=59116
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=59117
;
-- Mar 24, 2013 9:21:31 PM ICT
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=201893
;
-- Mar 24, 2013 9:21:50 PM ICT
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2013-03-24 21:21:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=201893
;
-- Mar 24, 2013 9:22:12 PM ICT
UPDATE AD_Menu SET Name='Create Asset From Project',Updated=TO_TIMESTAMP('2013-03-24 21:22:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=200006
;
-- Mar 24, 2013 9:22:12 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=200006
;
-- Mar 24, 2013 9:22:42 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 21:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53175
;
-- Mar 24, 2013 9:22:46 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 21:22:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53176
;
-- Mar 24, 2013 9:31:15 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56075
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56075
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56069
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56063
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56052
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56064
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56057
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56073
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56074
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56068
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56078
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56079
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56076
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56077
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56080
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=56062
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=56053
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=56054
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=56055
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=56056
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=59256
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=59258
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=59259
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=59260
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=59261
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=56065
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=59262
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=56066
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=56067
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=59263
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=150,IsDisplayedGrid='Y' WHERE AD_Field_ID=56070
;
-- Mar 24, 2013 9:31:18 PM ICT
UPDATE AD_Field SET SeqNoGrid=160,IsDisplayedGrid='Y' WHERE AD_Field_ID=56071
;
-- Mar 24, 2013 9:31:19 PM ICT
UPDATE AD_Field SET SeqNoGrid=170,IsDisplayedGrid='Y' WHERE AD_Field_ID=59264
;
-- Mar 24, 2013 9:31:19 PM ICT
UPDATE AD_Field SET SeqNoGrid=180,IsDisplayedGrid='Y' WHERE AD_Field_ID=56072
;
-- Mar 24, 2013 9:31:19 PM ICT
UPDATE AD_Field SET SeqNoGrid=190,IsDisplayedGrid='Y' WHERE AD_Field_ID=59265
;
-- Mar 24, 2013 9:31:50 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-24 21:31:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59403
;
-- Mar 24, 2013 9:31:56 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Conv_F_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:31:57 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Conv_F_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:32:06 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-24 21:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59404
;
-- Mar 24, 2013 9:32:10 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Conv_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:32:10 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Conv_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:32:21 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-24 21:32:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59405
;
-- Mar 24, 2013 9:32:24 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Method_F_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:32:24 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Method_F_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:32:34 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-24 21:32:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59402
;
-- Mar 24, 2013 9:32:38 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Method_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:32:38 PM ICT
INSERT INTO t_alter_column values('a_asset_group_acct','A_Depreciation_Method_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59260
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59261
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59258
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59259
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56065
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56066
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=59262
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56067
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=59263
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56070
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56071
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=56072
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59264
;
-- Mar 24, 2013 9:32:53 PM ICT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=59265
;
-- Mar 24, 2013 9:33:18 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-24 21:33:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59307
;
-- Mar 24, 2013 9:33:22 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Conv_F_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:33:22 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Conv_F_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:33:33 PM ICT
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2013-03-24 21:33:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55632
;
-- Mar 24, 2013 9:33:37 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Conv_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:33:37 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Conv_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:33:44 PM ICT
UPDATE AD_Column SET IsMandatory='N', IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-03-24 21:33:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59305
;
-- Mar 24, 2013 9:33:46 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Method_F_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:33:46 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Method_F_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:33:51 PM ICT
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2013-03-24 21:33:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55628
;
-- Mar 24, 2013 9:33:53 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Method_ID','NUMERIC(10)',null,'NULL')
;
-- Mar 24, 2013 9:33:53 PM ICT
INSERT INTO t_alter_column values('a_asset_acct','A_Depreciation_Method_ID',null,'NULL',null)
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55877
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59033
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55876
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=59032
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55880
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55881
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=55882
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59034
;
-- Mar 24, 2013 9:34:03 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59035
;
-- Mar 24, 2013 9:34:35 PM ICT
UPDATE AD_Tab SET IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 21:34:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=451
;
-- Mar 24, 2013 9:34:45 PM ICT
UPDATE AD_Tab SET IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 21:34:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53164
;
-- Mar 24, 2013 9:36:18 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 21:36:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53138
;
-- Mar 24, 2013 9:36:21 PM ICT
UPDATE AD_Menu SET IsActive='N',Updated=TO_TIMESTAMP('2013-03-24 21:36:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53136
;
-- Mar 24, 2013 9:37:19 PM ICT
UPDATE AD_Menu SET Name='Asset Transactions ', Description='Asset Transactions (Addition, Disposal, Split & Transfer)',Updated=TO_TIMESTAMP('2013-03-24 21:37:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53139
;
-- Mar 24, 2013 9:37:19 PM ICT
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53139
;
-- Mar 24, 2013 9:39:55 PM ICT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,IsOrgLevelSequence,StartNo,StartNewMonth) VALUES ('N',100,'N',1000000,'N','Y',200070,'Asset Addition',1,'bb13be47-97be-4334-b9de-b10d31722bac',0,11,TO_TIMESTAMP('2013-03-24 21:39:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-03-24 21:39:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','N',1000000,'N')
;
-- Mar 24, 2013 9:40:10 PM ICT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,IsOrgLevelSequence,StartNo,StartNewMonth) VALUES ('N',100,'N',1000000,'N','Y',200071,'Asset Depreciation',1,'d134f7ea-3d17-43e1-82a1-45764d57a835',0,11,TO_TIMESTAMP('2013-03-24 21:40:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-03-24 21:40:09','YYYY-MM-DD HH24:MI:SS'),100,'Y','N',1000000,'N')
;
-- Mar 24, 2013 9:40:18 PM ICT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,IsOrgLevelSequence,StartNo,StartNewMonth) VALUES ('N',100,'N',1000000,'N','Y',200072,'Asset Disposal',1,'a30f77d3-1d39-4ec4-8187-bb402877f605',0,11,TO_TIMESTAMP('2013-03-24 21:40:16','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2013-03-24 21:40:16','YYYY-MM-DD HH24:MI:SS'),100,'Y','N',1000000,'N')
;
-- Mar 24, 2013 9:40:29 PM ICT
INSERT INTO C_DocType (DocNoSequence_ID,GL_Category_ID,C_DocType_ID,IsDefault,DocBaseType,IsSOTrx,DocumentCopies,IsCreateCounter,IsIndexed,IsShipConfirm,IsSplitWhenDifference,IsDefaultCounterDoc,IsInTransit,IsPickQAConfirm,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,C_DocType_UU,IsPrepareSplitDocument,PrintName,Name,IsDocNoControlled,HasCharges,HasProforma,CreatedBy,UpdatedBy,Updated,AD_Org_ID,IsActive,Created,AD_Client_ID,IsChargeOrProductMandatory) VALUES (200070,108,200001,'N','FAA','N',1,'Y','Y','N','N','N','N','N','N','N','7b210fc5-489c-4ff3-9d9a-2fbe8b4c5136','Y','Asset Addition','Asset Addition','Y','N','N',100,100,TO_TIMESTAMP('2013-03-24 21:40:28','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2013-03-24 21:40:28','YYYY-MM-DD HH24:MI:SS'),11,'N')
;
-- Mar 24, 2013 9:40:29 PM ICT
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,C_DocType_Trl_UU ) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,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, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=200001 AND NOT EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_DocType_ID=t.C_DocType_ID)
;
-- Mar 24, 2013 9:40:42 PM ICT
INSERT INTO C_DocType (DocNoSequence_ID,GL_Category_ID,C_DocType_ID,IsDefault,DocBaseType,IsSOTrx,DocumentCopies,IsCreateCounter,IsIndexed,IsShipConfirm,IsSplitWhenDifference,IsDefaultCounterDoc,IsInTransit,IsPickQAConfirm,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,C_DocType_UU,IsPrepareSplitDocument,PrintName,Name,IsDocNoControlled,HasCharges,HasProforma,CreatedBy,UpdatedBy,Updated,AD_Org_ID,IsActive,Created,AD_Client_ID,IsChargeOrProductMandatory) VALUES (200071,108,200002,'N','FAA','N',1,'Y','Y','N','N','N','N','N','N','N','2d0701af-23b4-4c8c-9c48-9fb238db69fb','Y','Asset Depreciation','Asset Depreciation','Y','N','N',100,100,TO_TIMESTAMP('2013-03-24 21:40:41','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2013-03-24 21:40:41','YYYY-MM-DD HH24:MI:SS'),11,'N')
;
-- Mar 24, 2013 9:40:42 PM ICT
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,C_DocType_Trl_UU ) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,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, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=200002 AND NOT EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_DocType_ID=t.C_DocType_ID)
;
-- Mar 24, 2013 9:40:56 PM ICT
INSERT INTO C_DocType (DocNoSequence_ID,GL_Category_ID,C_DocType_ID,IsDefault,DocBaseType,IsSOTrx,DocumentCopies,IsCreateCounter,IsIndexed,IsShipConfirm,IsSplitWhenDifference,IsDefaultCounterDoc,IsInTransit,IsPickQAConfirm,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,C_DocType_UU,IsPrepareSplitDocument,PrintName,Name,IsDocNoControlled,HasCharges,HasProforma,CreatedBy,UpdatedBy,Updated,AD_Org_ID,IsActive,Created,AD_Client_ID,IsChargeOrProductMandatory) VALUES (200072,108,200003,'N','FAA','N',1,'Y','Y','N','N','N','N','N','N','N','0fac34f1-aa81-49d7-be50-88b566ca81c8','Y','Asset Disposal','Asset Disposal','Y','N','N',100,100,TO_TIMESTAMP('2013-03-24 21:40:55','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2013-03-24 21:40:55','YYYY-MM-DD HH24:MI:SS'),11,'N')
;
-- Mar 24, 2013 9:40:56 PM ICT
INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,C_DocType_Trl_UU ) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,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, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=200003 AND NOT EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_DocType_ID=t.C_DocType_ID)
;
-- Mar 24, 2013 9:43:42 PM ICT
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2013-03-24 21:43:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=55803
;
-- Mar 24, 2013 9:44:04 PM ICT
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2013-03-24 21:44:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=59395
;
SELECT register_migration_script('201304170928_IDEMPIERE-796_2.sql') FROM dual
;

View File

@ -0,0 +1,468 @@
-- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59143
;
-- Apr 4, 2013 1:20:03 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59143
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59144
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59144
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59145
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59145
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59146
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59146
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59147
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59147
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59148
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59148
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59149
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59149
;
-- Apr 4, 2013 1:20:04 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59150
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59150
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59151
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59151
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59152
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59152
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59153
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59153
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59154
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59154
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59155
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59155
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59156
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59156
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59157
;
-- Apr 4, 2013 1:20:05 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59157
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59158
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59158
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59159
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59159
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59160
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59160
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59161
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59161
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59162
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59162
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59163
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59163
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59164
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59164
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59165
;
-- Apr 4, 2013 1:20:06 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59165
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59166
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59166
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59167
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59167
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59168
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59168
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59169
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59169
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59170
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59170
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59171
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59171
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59172
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59172
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59173
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59173
;
-- Apr 4, 2013 1:20:07 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59174
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59174
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59175
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59175
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59176
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59176
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59177
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59177
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59178
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59178
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59179
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59179
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59180
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59180
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=59181
;
-- Apr 4, 2013 1:20:08 PM ICT
DELETE FROM AD_Field WHERE AD_Field_ID=59181
;
-- Apr 4, 2013 1:20:12 PM ICT
DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53326
;
-- Apr 4, 2013 1:20:13 PM ICT
DELETE FROM AD_Tab WHERE AD_Tab_ID=53326
;
-- Apr 4, 2013 1:21:43 PM ICT
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
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
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=55813
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=55808
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=55809
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55810
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55811
;
-- Apr 4, 2013 1:22:56 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=55812
;
-- Apr 4, 2013 1:23:25 PM ICT
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
UPDATE AD_Field SET IsActive='N' WHERE AD_Column_ID=55559
;
-- Apr 4, 2013 1:23:38 PM ICT
UPDATE AD_Column SET IsActive='N' WHERE AD_Column_ID=55559
;
-- Apr 4, 2013 1:23:38 PM ICT
alter table i_fixedasset drop CONSTRAINT i_fixedasset_i_isimported_check
;
SELECT register_migration_script('201304170929_IDEMPIERE-796_3.sql') FROM dual
;

View File

@ -0,0 +1,144 @@
-- 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
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
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
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
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
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56065
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56066
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59262
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56067
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=59263
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56070
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56071
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56072
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=59264
;
-- Apr 10, 2013 9:40:19 PM ICT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=59265
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=55879
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=55867
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=55870
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=59030
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=55880
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=55881
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=55882
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=59034
;
-- Apr 10, 2013 9:41:29 PM ICT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=59035
;
-- Apr 10, 2013 9:43:38 PM ICT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56205
;
-- Apr 10, 2013 9:44:15 PM ICT
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
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
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
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
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
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
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
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
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
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
;

View File

@ -0,0 +1,104 @@
-- Apr 17, 2013 11:37:25 AM COT
-- IDEMPIERE-294 BroadCast Message
UPDATE AD_Process SET AccessLevel='6',Updated=TO_TIMESTAMP('2013-04-17 11:37:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018
;
-- Apr 17, 2013 11:38:05 AM COT
UPDATE AD_Process SET Description='Expire Broadcast Message', Name='Expire Broadcast Message', Value='AD_ExpireBroadcastMessage',Updated=TO_TIMESTAMP('2013-04-17 11:38:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018
;
-- Apr 17, 2013 11:41:26 AM COT
UPDATE AD_Process SET Name='Test Broadcast Message', Value='AD_TestBroadcastMessage',Updated=TO_TIMESTAMP('2013-04-17 11:41:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200020
;
-- Apr 17, 2013 11:41:45 AM COT
UPDATE AD_Process SET Value='AD_PublishBroadcastMessage',Updated=TO_TIMESTAMP('2013-04-17 11:41:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019
;
-- Apr 17, 2013 11:50:44 AM COT
UPDATE AD_Column SET IsToolbarButton='N',Updated=TO_TIMESTAMP('2013-04-17 11:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200994
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=40, ColumnSpan=1,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200876
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=50, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200872
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=60, ColumnSpan=1,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200888
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=70, IsDisplayed='Y', XPosition=3,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200882
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=80, IsDisplayed='Y', XPosition=3,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200887
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=90, IsDisplayed='Y', XPosition=3,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200890
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=100, ColumnSpan=1,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200873
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=110, IsDisplayed='Y', XPosition=3, ColumnSpan=2,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200879
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=120, IsDisplayed='Y', XPosition=6, ColumnSpan=1,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200881
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=130, IsDisplayed='Y', XPosition=2, ColumnSpan=2,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=140, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200885
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=150, IsDisplayed='Y', XPosition=2,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=160,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200880
;
-- Apr 17, 2013 11:58:33 AM COT
UPDATE AD_Field SET SeqNo=170,Updated=TO_TIMESTAMP('2013-04-17 11:58:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200886
;
-- Apr 17, 2013 12:00:12 PM COT
UPDATE AD_Field SET EntityType='D', Name='Test Broadcast Message',Updated=TO_TIMESTAMP('2013-04-17 12:00:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889
;
-- Apr 17, 2013 12:01:05 PM COT
UPDATE AD_Field SET DisplayLogic='@IsPublished@=N', EntityType='D', Description='Publish Broadcast Message', Name='Publish Broadcast Message',Updated=TO_TIMESTAMP('2013-04-17 12:01:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200885
;
-- Apr 17, 2013 12:01:13 PM COT
UPDATE AD_Field SET DisplayLogic='@IsPublished@=N',Updated=TO_TIMESTAMP('2013-04-17 12:01:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889
;
-- Apr 17, 2013 12:01:54 PM COT
UPDATE AD_Field SET DisplayLogic='@IsPublished@=Y & @Expired@=N',Updated=TO_TIMESTAMP('2013-04-17 12:01:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878
;
-- Apr 17, 2013 12:02:05 PM COT
UPDATE AD_Field SET EntityType='D',Updated=TO_TIMESTAMP('2013-04-17 12:02:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878
;
-- Apr 17, 2013 12:02:39 PM COT
UPDATE AD_Tab SET IsSingleRow='Y',Updated=TO_TIMESTAMP('2013-04-17 12:02:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200033
;
SELECT register_migration_script('201304171142_IDEMPIERE-294.sql') FROM dual
;

View File

@ -0,0 +1,513 @@
CREATE UNIQUE INDEX m_packagemps_uu_idx ON m_packagemps (m_packagemps_uu)
;
CREATE UNIQUE INDEX c_depositbatch_uu_idx ON c_depositbatch (c_depositbatch_uu)
;
CREATE UNIQUE INDEX c_1099box_uu_idx ON c_1099box (c_1099box_uu)
;
CREATE UNIQUE INDEX c_onlinetrxhistory_uu_idx ON c_onlinetrxhistory (c_onlinetrxhistory_uu)
;
CREATE UNIQUE INDEX m_shippingprocessorcfg_uu_idx ON m_shippingprocessorcfg (m_shippingprocessorcfg_uu)
;
CREATE UNIQUE INDEX t_1099extract_uu_idx ON t_1099extract (t_1099extract_uu)
;
CREATE UNIQUE INDEX m_shipperpackaging_uu_idx ON m_shipperpackaging (m_shipperpackaging_uu)
;
CREATE UNIQUE INDEX m_shippingtransactionli_uu_idx ON m_shippingtransactionline (m_shippingtransactionline_uu)
;
CREATE UNIQUE INDEX m_shippercfg_uu_idx ON m_shippercfg (m_shippercfg_uu)
;
CREATE UNIQUE INDEX m_rmatax_uu_idx ON m_rmatax (m_rmatax_uu)
;
CREATE UNIQUE INDEX m_shipperpickuptypescfg_uu_idx ON m_shipperpickuptypescfg (m_shipperpickuptypescfg_uu)
;
CREATE UNIQUE INDEX ad_storageprovider_uu_idx ON ad_storageprovider (ad_storageprovider_uu)
;
CREATE UNIQUE INDEX ws_webservice_para_uu_idx ON ws_webservice_para (ws_webservice_para_uu)
;
CREATE UNIQUE INDEX ws_webservicefieldoutpu_uu_idx ON ws_webservicefieldoutput (ws_webservicefieldoutput_uu)
;
CREATE UNIQUE INDEX ad_ctxhelpmsg_trl_uu_idx ON ad_ctxhelpmsg_trl (ad_ctxhelpmsg_trl_uu)
;
CREATE UNIQUE INDEX c_depositbatchline_uu_idx ON c_depositbatchline (c_depositbatchline_uu)
;
CREATE UNIQUE INDEX m_shippingprocessor_uu_idx ON m_shippingprocessor (m_shippingprocessor_uu)
;
CREATE UNIQUE INDEX c_paymenttransaction_uu_idx ON c_paymenttransaction (c_paymenttransaction_uu)
;
CREATE UNIQUE INDEX m_commodityshipment_uu_idx ON m_commodityshipment (m_commodityshipment_uu)
;
CREATE UNIQUE INDEX ws_webservicetypeaccess_uu_idx ON ws_webservicetypeaccess (ws_webservicetypeaccess_uu)
;
CREATE UNIQUE INDEX ad_ctxhelp_uu_idx ON ad_ctxhelp (ad_ctxhelp_uu)
;
CREATE UNIQUE INDEX ws_webservicetype_uu_idx ON ws_webservicetype (ws_webservicetype_uu)
;
CREATE UNIQUE INDEX m_shipperpackagingcfg_uu_idx ON m_shipperpackagingcfg (m_shipperpackagingcfg_uu)
;
CREATE UNIQUE INDEX c_bp_shippingacct_uu_idx ON c_bp_shippingacct (c_bp_shippingacct_uu)
;
CREATE UNIQUE INDEX m_shipperlabels_uu_idx ON m_shipperlabels (m_shipperlabels_uu)
;
CREATE UNIQUE INDEX m_shipperlabelscfg_uu_idx ON m_shipperlabelscfg (m_shipperlabelscfg_uu)
;
CREATE UNIQUE INDEX m_shipperpickuptypes_uu_idx ON m_shipperpickuptypes (m_shipperpickuptypes_uu)
;
CREATE UNIQUE INDEX m_shippingtransaction_uu_idx ON m_shippingtransaction (m_shippingtransaction_uu)
;
CREATE UNIQUE INDEX ad_broadcastmessage_uu_idx ON ad_broadcastmessage (ad_broadcastmessage_uu)
;
CREATE UNIQUE INDEX ws_webservicefieldinput_uu_idx ON ws_webservicefieldinput (ws_webservicefieldinput_uu)
;
CREATE UNIQUE INDEX ad_ctxhelpmsg_uu_idx ON ad_ctxhelpmsg (ad_ctxhelpmsg_uu)
;
CREATE UNIQUE INDEX ad_infowindow_access_uu_idx ON ad_infowindow_access (ad_infowindow_access_uu)
;
ALTER TABLE AD_BroadcastMessage ADD CONSTRAINT NotificationClient_ADBroadcast FOREIGN KEY (Notification_Client_ID) REFERENCES AD_Client DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_BroadcastMessage ADD CONSTRAINT ADRole_ADBroadcastMessage FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_BroadcastMessage ADD CONSTRAINT ADUser_ADBroadcastMessage FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE ad_storageprovider ADD CONSTRAINT ad_storageprovider_pkey PRIMARY KEY (ad_storageprovider_id)
;
ALTER TABLE AD_ClientInfo ADD CONSTRAINT ADStorageProvider_ADClientInfo FOREIGN KEY (AD_StorageProvider_ID) REFERENCES AD_StorageProvider DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_ClientInfo ADD CONSTRAINT StorageArchive_ADClientInfo FOREIGN KEY (StorageArchive_ID) REFERENCES AD_StorageProvider DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_ClientInfo ADD CONSTRAINT CChargeFreight_ADClientInfo FOREIGN KEY (C_ChargeFreight_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_CtxHelpMsg ADD CONSTRAINT ADCtxHelp_ADCtxHelpMsg FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_CtxHelpMsg_Trl ADD CONSTRAINT ADCtxHelpMsg_ADCtxHelpMsgTrl FOREIGN KEY (AD_CtxHelpMsg_ID) REFERENCES AD_CtxHelpMsg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_CtxHelpMsg_Trl ADD CONSTRAINT ADLangu_ADCtxHelpMsgTrl FOREIGN KEY (AD_Language) REFERENCES AD_Language DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Form ADD CONSTRAINT ADCtxHelp_ADForm FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoColumn ADD CONSTRAINT ADReferenceValue_ADInfoColumn FOREIGN KEY (AD_Reference_Value_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoColumn ADD CONSTRAINT ADValRule_ADInfoColumn FOREIGN KEY (AD_Val_Rule_ID) REFERENCES AD_Val_Rule DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoWindow ADD CONSTRAINT ADCtxHelp_ADInfoWindow FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoWindow_Access ADD CONSTRAINT ADInfoWindow_ADInfoWindowAcces FOREIGN KEY (AD_InfoWindow_ID) REFERENCES AD_InfoWindow DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_InfoWindow_Access ADD CONSTRAINT ADRole_ADInfoWindowAccess FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Language ADD CONSTRAINT ADPrintPaper_ADLanguage FOREIGN KEY (AD_PrintPaper_ID) REFERENCES AD_PrintPaper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Menu ADD CONSTRAINT ADInfoWindow_ADMenu FOREIGN KEY (AD_InfoWindow_ID) REFERENCES AD_InfoWindow DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Note ADD CONSTRAINT ADBroadcastMessage_ADNote FOREIGN KEY (AD_BroadcastMessage_ID) REFERENCES AD_BroadcastMessage DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Package_Exp_Detail ADD CONSTRAINT ADValRule_ADPackageExpDetail FOREIGN KEY (AD_Val_Rule_ID) REFERENCES AD_Val_Rule DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Process ADD CONSTRAINT ADCtxHelp_ADProcess FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Ref_Table ADD CONSTRAINT ADInfoWindow_ADRefTable FOREIGN KEY (AD_InfoWindow_ID) REFERENCES AD_InfoWindow DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Tab ADD CONSTRAINT ADCtxHelp_ADTab FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Task ADD CONSTRAINT ADCtxHelp_ADTask FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_UserDef_Field ADD CONSTRAINT ADReference_ADUserDefField FOREIGN KEY (AD_Reference_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_UserDef_Field ADD CONSTRAINT ADReferenceValue_ADUserDefFiel FOREIGN KEY (AD_Reference_Value_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_WF_Node ADD CONSTRAINT ADCtxHelp_ADWFNode FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_WizardProcess ADD CONSTRAINT ADUser_ADWizardProcess FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE AD_Workflow ADD CONSTRAINT ADCtxHelp_ADWorkflow FOREIGN KEY (AD_CtxHelp_ID) REFERENCES AD_CtxHelp DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_AllocationHdr ADD CONSTRAINT Reversal_CAllocationHdr FOREIGN KEY (Reversal_ID) REFERENCES C_AllocationHdr DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BankAccount_Processor ADD CONSTRAINT CCurrency_CBankAccountProcesso FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BPartner ADD CONSTRAINT Default1099Box_CBPartner FOREIGN KEY (Default1099Box_ID) REFERENCES C_1099Box DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_BankAccount ADD CONSTRAINT CPaymentProcessor_CBPBankAccou FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_ShippingAcct ADD CONSTRAINT CBPartner_CBPShippingAcct FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_ShippingAcct ADD CONSTRAINT CBPartnerLocation_CBPShippingA FOREIGN KEY (C_BPartner_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_BP_ShippingAcct ADD CONSTRAINT MShippingProcessor_CBPShipping FOREIGN KEY (M_ShippingProcessor_ID) REFERENCES M_ShippingProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatch ADD CONSTRAINT CBankAccount_CDepositBatch FOREIGN KEY (C_BankAccount_ID) REFERENCES C_BankAccount DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatch ADD CONSTRAINT CDocType_CDepositBatch FOREIGN KEY (C_DocType_ID) REFERENCES C_DocType DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatchLine ADD CONSTRAINT CDepositBatch_CDepositBatchLin FOREIGN KEY (C_DepositBatch_ID) REFERENCES C_DepositBatch DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_DepositBatchLine ADD CONSTRAINT CPayment_CDepositBatchLine FOREIGN KEY (C_Payment_ID) REFERENCES C_Payment DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_InvoiceLine ADD CONSTRAINT C1099Box_CInvoiceLine FOREIGN KEY (C_1099Box_ID) REFERENCES C_1099Box DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_OnlineTrxHistory ADD CONSTRAINT ADTable_COnlineTrxHistory FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_Payment ADD CONSTRAINT CDepositBatch_CPayment FOREIGN KEY (C_DepositBatch_ID) REFERENCES C_DepositBatch DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT ADOrgTrx_CPaymentTransaction FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CActivity_CPaymentTransaction FOREIGN KEY (C_Activity_ID) REFERENCES C_Activity DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CBankAccount_CPaymentTransacti FOREIGN KEY (C_BankAccount_ID) REFERENCES C_BankAccount DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CBPartner_CPaymentTransaction FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CBPBankAccount_CPaymentTransac FOREIGN KEY (C_BP_BankAccount_ID) REFERENCES C_BP_BankAccount DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCampaign_CPaymentTransaction FOREIGN KEY (C_Campaign_ID) REFERENCES C_Campaign DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCashBook_CPaymentTransaction FOREIGN KEY (C_CashBook_ID) REFERENCES C_CashBook DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCharge_CPaymentTransaction FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CConversionType_CPaymentTransa FOREIGN KEY (C_ConversionType_ID) REFERENCES C_ConversionType DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CCurrency_CPaymentTransaction FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT User1_CPaymentTransaction FOREIGN KEY (User1_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT User2_CPaymentTransaction FOREIGN KEY (User2_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CInvoice_CPaymentTransaction FOREIGN KEY (C_Invoice_ID) REFERENCES C_Invoice DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT COrder_CPaymentTransaction FOREIGN KEY (C_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPayment_CPaymentTransaction FOREIGN KEY (C_Payment_ID) REFERENCES C_Payment DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPaymentBatch_CPaymentTransact FOREIGN KEY (C_PaymentBatch_ID) REFERENCES C_PaymentBatch DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPaymentProcessor_CPaymentTran FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT RefPaymentTransaction_CPayment FOREIGN KEY (Ref_PaymentTransaction_ID) REFERENCES C_PaymentTransaction DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CPOSTenderType_CPaymentTransac FOREIGN KEY (C_POSTenderType_ID) REFERENCES C_POSTenderType DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE C_PaymentTransaction ADD CONSTRAINT CProject_CPaymentTransaction FOREIGN KEY (C_Project_ID) REFERENCES C_Project DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE DD_Order ADD CONSTRAINT RefOrder_DDOrder FOREIGN KEY (Ref_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE I_Invoice ADD CONSTRAINT C1099Box_IInvoice FOREIGN KEY (C_1099Box_ID) REFERENCES C_1099Box DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_CommodityShipment ADD CONSTRAINT MProduct_MCommodityShipment FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ForecastLine ADD CONSTRAINT SalesRep_MForecastLine FOREIGN KEY (SalesRep_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_InOut ADD CONSTRAINT ReturnUser_MInOut FOREIGN KEY (ReturnUser_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_InOut ADD CONSTRAINT ReturnBPartner_MInOut FOREIGN KEY (ReturnBPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_InOut ADD CONSTRAINT ReturnLocation_MInOut FOREIGN KEY (ReturnLocation_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_MatchInv ADD CONSTRAINT Reversal_MMatchInv FOREIGN KEY (Reversal_ID) REFERENCES M_MatchInv DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_MatchPO ADD CONSTRAINT Reversal_MMatchPO FOREIGN KEY (Reversal_ID) REFERENCES M_MatchPO DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CBPartnerLocation_MPackage FOREIGN KEY (C_BPartner_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CBPShippingAcct_MPackage FOREIGN KEY (C_BP_ShippingAcct_ID) REFERENCES C_BP_ShippingAcct DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CCurrency_MPackage FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CUOMLength_MPackage FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT CUOMWeight_MPackage FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT MShipperLabels_MPackage FOREIGN KEY (M_ShipperLabels_ID) REFERENCES M_ShipperLabels DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT MShipperPackaging_MPackage FOREIGN KEY (M_ShipperPackaging_ID) REFERENCES M_ShipperPackaging DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Package ADD CONSTRAINT MShipperPickupTypes_MPackage FOREIGN KEY (M_ShipperPickupTypes_ID) REFERENCES M_ShipperPickupTypes DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageLine ADD CONSTRAINT MPackageMPS_MPackageLine FOREIGN KEY (M_PackageMPS_ID) REFERENCES M_PackageMPS DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageLine ADD CONSTRAINT MProduct_MPackageLine FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageMPS ADD CONSTRAINT CUOMLength_MPackageMPS FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageMPS ADD CONSTRAINT CUOMWeight_MPackageMPS FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_PackageMPS ADD CONSTRAINT MPackage_MPackageMPS FOREIGN KEY (M_Package_ID) REFERENCES M_Package DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Production ADD CONSTRAINT CBPartner_MProduction FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMALine ADD CONSTRAINT CTax_MRMALine FOREIGN KEY (C_Tax_ID) REFERENCES C_Tax DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMALine ADD CONSTRAINT MProduct_MRMALine FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMATax ADD CONSTRAINT CTax_MRMATax FOREIGN KEY (C_Tax_ID) REFERENCES C_Tax DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_RMATax ADD CONSTRAINT MRMA_MRMATax FOREIGN KEY (M_RMA_ID) REFERENCES M_RMA DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Shipper ADD CONSTRAINT MShipperCfg_MShipper FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Shipper ADD CONSTRAINT MShippingProcessor_MShipper FOREIGN KEY (M_ShippingProcessor_ID) REFERENCES M_ShippingProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperCfg ADD CONSTRAINT MShippingProcessorCfg_MShipper FOREIGN KEY (M_ShippingProcessorCfg_ID) REFERENCES M_ShippingProcessorCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperLabels ADD CONSTRAINT MShipper_MShipperLabels FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperLabels ADD CONSTRAINT MShipperLabelsCfg_MShipperLabe FOREIGN KEY (M_ShipperLabelsCfg_ID) REFERENCES M_ShipperLabelsCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperLabelsCfg ADD CONSTRAINT MShipperCfg_MShipperLabelsCfg FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPackaging ADD CONSTRAINT MShipper_MShipperPackaging FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPackaging ADD CONSTRAINT MShipperPackagingCfg_MShipperP FOREIGN KEY (M_ShipperPackagingCfg_ID) REFERENCES M_ShipperPackagingCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPackagingCfg ADD CONSTRAINT MShipperCfg_MShipperPackagingC FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPickupTypes ADD CONSTRAINT MShipper_MShipperPickupTypes FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPickupTypes ADD CONSTRAINT MShipperPickupTypesCfg_MShippe FOREIGN KEY (M_ShipperPickupTypesCfg_ID) REFERENCES M_ShipperPickupTypesCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShipperPickupTypesCfg ADD CONSTRAINT MShipperCfg_MShipperPickupType FOREIGN KEY (M_ShipperCfg_ID) REFERENCES M_ShipperCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingProcessor ADD CONSTRAINT MShippingProcessorCfg_MShippin FOREIGN KEY (M_ShippingProcessorCfg_ID) REFERENCES M_ShippingProcessorCfg DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ADUser_MShippingTransaction FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ReturnUser_MShippingTransactio FOREIGN KEY (ReturnUser_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT SalesRep_MShippingTransaction FOREIGN KEY (SalesRep_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CBPartner_MShippingTransaction FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ReturnBPartner_MShippingTransa FOREIGN KEY (ReturnBPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT BillLocation_MShippingTransact FOREIGN KEY (Bill_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CBPartnerLocation_MShippingTra FOREIGN KEY (C_BPartner_Location_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT ReturnLocation_MShippingTransa FOREIGN KEY (ReturnLocation_ID) REFERENCES C_BPartner_Location DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CBPShippingAcct_MShippingTrans FOREIGN KEY (C_BP_ShippingAcct_ID) REFERENCES C_BP_ShippingAcct DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CCurrency_MShippingTransaction FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CInvoice_MShippingTransaction FOREIGN KEY (C_Invoice_ID) REFERENCES C_Invoice DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT COrder_MShippingTransaction FOREIGN KEY (C_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CUOMLength_MShippingTransactio FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT CUOMWeight_MShippingTransactio FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MInOut_MShippingTransaction FOREIGN KEY (M_InOut_ID) REFERENCES M_InOut DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MPackage_MShippingTransaction FOREIGN KEY (M_Package_ID) REFERENCES M_Package DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipper_MShippingTransaction FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipperLabels_MShippingTransa FOREIGN KEY (M_ShipperLabels_ID) REFERENCES M_ShipperLabels DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipperPackaging_MShippingTra FOREIGN KEY (M_ShipperPackaging_ID) REFERENCES M_ShipperPackaging DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShipperPickupTypes_MShippingT FOREIGN KEY (M_ShipperPickupTypes_ID) REFERENCES M_ShipperPickupTypes DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MShippingProcessor_MShippingTr FOREIGN KEY (M_ShippingProcessor_ID) REFERENCES M_ShippingProcessor DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransaction ADD CONSTRAINT MWarehouse_MShippingTransactio FOREIGN KEY (M_Warehouse_ID) REFERENCES M_Warehouse DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT CUOMLength_MShippingTransactLn FOREIGN KEY (C_UOM_Length_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT CUOMWeight_MShippingTransactLn FOREIGN KEY (C_UOM_Weight_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT MPackageMPS_MShippingTransacti FOREIGN KEY (M_PackageMPS_ID) REFERENCES M_PackageMPS DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_ShippingTransactionLine ADD CONSTRAINT MShippingTransaction_MShipping FOREIGN KEY (M_ShippingTransaction_ID) REFERENCES M_ShippingTransaction DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageOnHand ADD CONSTRAINT MProduct_MStorageOnHand FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageReservation ADD CONSTRAINT MProduct_MStorageReservation FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageReservation ADD CONSTRAINT MWarehouse_MStorageReservation FOREIGN KEY (M_Warehouse_ID) REFERENCES M_Warehouse DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_Warehouse ADD CONSTRAINT MReserveLocator_MWarehouse FOREIGN KEY (M_ReserveLocator_ID) REFERENCES M_Locator DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE WS_WebServiceFieldInput ADD CONSTRAINT ADReference_WSWebServiceFieldI FOREIGN KEY (AD_Reference_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE WS_WebServiceFieldInput ADD CONSTRAINT ADReferenceValue_WSWebServiceF FOREIGN KEY (AD_Reference_Value_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageOnHand ADD CONSTRAINT MAttributeSetInstance_MStoraOH FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageOnHand ADD CONSTRAINT MLocator_MStorageOnHand FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED
;
ALTER TABLE M_StorageReservation ADD CONSTRAINT MAttributeSetInstance_MStoraRe FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED
;
SELECT register_migration_script('201304181526_IdxFKs.sql') FROM dual
;

View File

@ -270,6 +270,21 @@ public interface I_A_Asset_Addition
public org.compiere.model.I_C_Currency getC_Currency() throws RuntimeException; 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 */ /** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "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); 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 */ /** Load Meta Data */
@ -196,6 +196,21 @@ public interface I_A_Asset_Disposed
/** Get Asset Proceeds */ /** Get Asset Proceeds */
public BigDecimal getA_Proceeds(); public BigDecimal getA_Proceeds();
/** 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 */ /** Column name C_Invoice_ID */
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID"; public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";

View File

@ -243,21 +243,6 @@ public interface I_A_Depreciation_Entry
*/ */
public String getDocumentNo(); 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 */ /** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive"; public static final String COLUMNNAME_IsActive = "IsActive";

View File

@ -324,7 +324,8 @@ public class MAsset extends X_A_Asset
// Copy fields from C_BPartner_Location // Copy fields from C_BPartner_Location
if (is_ValueChanged(COLUMNNAME_C_BPartner_Location_ID) && getC_BPartner_Location_ID() > 0) if (is_ValueChanged(COLUMNNAME_C_BPartner_Location_ID) && getC_BPartner_Location_ID() > 0)
{ {
SetGetUtil.copyValues((SetGetModel)this, MBPartnerLocation.Table_Name, getC_BPartner_Location_ID(), // Goodwill BF: Error: org.compiere.model.MAsset cannot be cast to org.compiere.model.SetGetModel
SetGetUtil.copyValues(SetGetUtil.wrap(this), MBPartnerLocation.Table_Name, getC_BPartner_Location_ID(),
new String[]{MBPartnerLocation.COLUMNNAME_C_Location_ID} new String[]{MBPartnerLocation.COLUMNNAME_C_Location_ID}
); );
} }

View File

@ -238,6 +238,7 @@ public class MAssetAddition extends X_A_Asset_Addition
{ {
this(match.getCtx(), 0, match.get_TrxName()); this(match.getCtx(), 0, match.get_TrxName());
setM_MatchInv(match); setM_MatchInv(match);
setC_DocType_ID();
} }
//added by @win //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 setA_CreateAsset(true); //added by @win as create from project will certainly for createnew
setDeltaUseLifeYears(I_ZERO); setDeltaUseLifeYears(I_ZERO);
setDeltaUseLifeYears_F(I_ZERO); setDeltaUseLifeYears_F(I_ZERO);
setC_DocType_ID();
Timestamp dateAcct = new Timestamp (System.currentTimeMillis()); Timestamp dateAcct = new Timestamp (System.currentTimeMillis());
if (dateAcct != null) 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_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_CreateAsset(true); //added by zuhri, import must be create asset
setA_Salvage_Value(ifa.getA_Salvage_Value()); setA_Salvage_Value(ifa.getA_Salvage_Value());
setC_DocType_ID();
Timestamp dateAcct = ifa.getDateAcct(); Timestamp dateAcct = ifa.getDateAcct();
if (dateAcct != null) 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 } // 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 = 20130417L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Addition (Properties ctx, int A_Asset_Addition_ID, String trxName) 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(); 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 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) 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 = 20130417L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Asset_Disposed (Properties ctx, int A_Asset_Disposed_ID, String trxName) 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); setExpense (Env.ZERO);
// 0 // 0
setIsApproved (false); setIsApproved (false);
// @#IsCanApproveOwnDoc@ // N
setPosted (false); setPosted (false);
// N // N
setPostingType (null); setPostingType (null);
@ -78,7 +78,7 @@ public class X_A_Asset_Disposed extends PO implements I_A_Asset_Disposed, I_Pers
} }
/** AccessLevel /** AccessLevel
* @return 7 - System - Client - Org * @return 3 - Client - Org
*/ */
protected int get_AccessLevel() 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; 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 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) 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 = 20130417L;
/** Standard Constructor */ /** Standard Constructor */
public X_A_Depreciation_Entry (Properties ctx, int A_Depreciation_Entry_ID, String trxName) 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() )); setDateAcct (new Timestamp( System.currentTimeMillis() ));
// @Date@ // @Date@
setDateDoc (new Timestamp( System.currentTimeMillis() )); setDateDoc (new Timestamp( System.currentTimeMillis() ));
// @Date@ // @#Date@
setDocAction (null); setDocAction (null);
// 'CO' // 'CO'
setDocStatus (null); setDocStatus (null);
// 'DR' // 'DR'
setDocumentNo (null); setDocumentNo (null);
setGL_Category_ID (0);
setIsApproved (false); setIsApproved (false);
// @#IsCanApproveOwnDoc@ // @#IsCanApproveOwnDoc@
setPosted (false); 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); 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. /** Set Approved.
@param IsApproved @param IsApproved
Indicates if this document requires approval Indicates if this document requires approval

View File

@ -150,9 +150,10 @@ public class BroadcastMsgUtil
String sql = "SELECT bm.AD_BroadcastMessage_ID " String sql = "SELECT bm.AD_BroadcastMessage_ID "
+ " FROM AD_Note n INNER JOIN AD_BroadcastMessage bm ON (bm.AD_BroadcastMessage_ID=n.AD_BroadcastMessage_ID) " + " FROM AD_Note n INNER JOIN AD_BroadcastMessage bm ON (bm.AD_BroadcastMessage_ID=n.AD_BroadcastMessage_ID) "
+ " WHERE n.AD_User_ID=?" + " WHERE n.AD_User_ID=?"
+ " AND n.AD_Client_ID=?"
+ " AND (bm.BroadcastType='IL' OR bm.BroadcastType='L') " + " AND (bm.BroadcastType='IL' OR bm.BroadcastType='L') "
+ " AND bm.isPublished='Y' AND n.processed = 'N'" + " AND bm.isPublished='Y' AND n.processed = 'N'"
+ " AND ((bm.BroadcastFrequency='U' AND bm.Expired='N' AND bm.expiration > SYSDATE) OR bm.BroadcastFrequency='J')"; + " AND ((bm.BroadcastFrequency='U' AND bm.Expired='N' AND (bm.expiration IS NULL OR bm.expiration > SYSDATE)) OR bm.BroadcastFrequency='J')";
ArrayList<MBroadcastMessage> mbMessages = new ArrayList<MBroadcastMessage>(); ArrayList<MBroadcastMessage> mbMessages = new ArrayList<MBroadcastMessage>();
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
@ -160,6 +161,7 @@ public class BroadcastMsgUtil
try { try {
pstmt = DB.prepareStatement(sql, null); pstmt = DB.prepareStatement(sql, null);
pstmt.setInt(1, AD_User_ID); pstmt.setInt(1, AD_User_ID);
pstmt.setInt(2, Env.getAD_Client_ID(Env.getCtx()));
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
while (rs.next()) { while (rs.next()) {
mbMessages.add(MBroadcastMessage.get(Env.getCtx(), rs.getInt(1))); mbMessages.add(MBroadcastMessage.get(Env.getCtx(), rs.getInt(1)));

View File

@ -51,9 +51,10 @@ public class CalloutAsset extends CalloutEngine {
public String asset(Properties ctx, int WindowNo, GridTab mTab, GridField mField, Object value) 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); MAsset asset = new MAsset(ctx, (Integer) value, null);
if (asset != null)
mTab.setValue(MAsset.COLUMNNAME_M_Product_ID, asset.getM_Product_ID()); 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; private int p_AD_Org_ID = 0;
/** Account Date */ /** Account Date */
@SuppressWarnings("unused")
private Timestamp p_DateAcct = null; private Timestamp p_DateAcct = null;
/** Validate Only - only validate import data */ /** Validate Only - only validate import data */
@ -359,8 +358,8 @@ public class ImportFixedAsset extends SvrProcess
} }
//if(p_A_Asset_Group_ID>0) //if(p_A_Asset_Group_ID>0)
// assetAdd.getA_Asset().setA_Asset_Group_ID(p_A_Asset_Group_ID); // assetAdd.getA_Asset().setA_Asset_Group_ID(p_A_Asset_Group_ID);
//if(p_DateAcct!=null) if(p_DateAcct!=null)
// assetAdd.setDateAcct(p_DateAcct); assetAdd.setDateAcct(p_DateAcct);
assetAdd.saveEx(); assetAdd.saveEx();
//Process Asset Addition Based on Document Action //Process Asset Addition Based on Document Action

View File

@ -16,4 +16,4 @@ read in
# Parameter: <systemAccount> <adempiereID> <adempierePwd> # Parameter: <systemAccount> <adempiereID> <adempierePwd>
# globalqss - cruiz - 2007-10-09 - added fourth parameter for postgres(ignored in oracle) # globalqss - cruiz - 2007-10-09 - added fourth parameter for postgres(ignored in oracle)
$ADEMPIERE_DB_PATH/DBRestore.sh system/$ADEMPIERE_DB_SYSTEM $ADEMPIERE_DB_USER $ADEMPIERE_DB_PASSWORD $ADEMPIERE_DB_SYSTEM $ADEMPIERE_DB_PATH/DBRestoredp.sh system/$ADEMPIERE_DB_SYSTEM $ADEMPIERE_DB_USER $ADEMPIERE_DB_PASSWORD $ADEMPIERE_DB_SYSTEM

View File

@ -141,7 +141,7 @@ public class BroadcastMessageWindow extends Window implements IBroadcastMsgPopup
Cell rightCell = new Cell(); Cell rightCell = new Cell();
southHLayout.appendChild(rightCell); southHLayout.appendChild(rightCell);
rightCell.setAlign("right"); rightCell.setAlign("right");
rightCell.setHflex("2"); rightCell.setHflex("true");
sDiv = new Div(); sDiv = new Div();
sDiv.setWidth("70px"); sDiv.setWidth("70px");
rightCell.appendChild(sDiv); rightCell.appendChild(sDiv);