Pre-release work

This commit is contained in:
Carlos Ruiz 2012-10-31 15:09:02 -05:00
parent b3de9ec20f
commit ae74c7e714
64 changed files with 14940 additions and 9676 deletions

View File

@ -1,412 +0,0 @@
SET DEFINE OFF;
-- 02/10/2009 11:33:15 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53327,TO_DATE('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Period Type',TO_DATE('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- 02/10/2009 11:33:15 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53327 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- 02/10/2009 11:33:29 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53536,TO_DATE('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Total',TO_DATE('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- 02/10/2009 11:33:29 AM
-- Add signed amount type to fin report
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) 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 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=53536 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:33:38 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53537,TO_DATE('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Year',TO_DATE('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'Y')
;
-- 02/10/2009 11:33:38 AM
-- Add signed amount type to fin report
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) 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 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=53537 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:33:51 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53538,TO_DATE('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Period',TO_DATE('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'P')
;
-- 02/10/2009 11:33:51 AM
-- Add signed amount type to fin report
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) 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 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=53538 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:40:15 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53540,TO_DATE('2009-10-02 11:40:14','YYYY-MM-DD HH24:MI:SS'),100,'Year for P & L account, Total for Balance Sheet account','D','Y','Natural',TO_DATE('2009-10-02 11:40:14','YYYY-MM-DD HH24:MI:SS'),100,'N')
;
-- 02/10/2009 11:40:15 AM
-- Add signed amount type to fin report
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) 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 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=53540 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:42:57 AM
-- Add signed amount type to fin report
UPDATE AD_Reference SET IsActive='N', Name='PA_Report AmountType (deprecated)',Updated=TO_DATE('2009-10-02 11:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=235
;
-- 02/10/2009 11:42:57 AM
-- Add signed amount type to fin report
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=235
;
-- 02/10/2009 11:43:16 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53328,TO_DATE('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Amount Type',TO_DATE('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- 02/10/2009 11:43:16 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53328 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- 02/10/2009 11:44:10 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53541,TO_DATE('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Balance (expected sign)',TO_DATE('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'B')
;
-- 02/10/2009 11:44:10 AM
-- Add signed amount type to fin report
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) 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 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=53541 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:44:32 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53542,TO_DATE('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Credit Only',TO_DATE('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'C')
;
-- 02/10/2009 11:44:32 AM
-- Add signed amount type to fin report
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) 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 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=53542 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:44:42 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53543,TO_DATE('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Debit Only',TO_DATE('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D')
;
-- 02/10/2009 11:44:42 AM
-- Add signed amount type to fin report
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) 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 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=53543 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:45:01 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53544,TO_DATE('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity',TO_DATE('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'Q')
;
-- 02/10/2009 11:45:01 AM
-- Add signed amount type to fin report
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) 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 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=53544 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:48:32 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53545,TO_DATE('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'DR - CR','D','Y','Balance (accounted sign)',TO_DATE('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- 02/10/2009 11:48:32 AM
-- Add signed amount type to fin report
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) 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 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=53545 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:52:38 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54061,0,'PAPeriodType',TO_DATE('2009-10-02 11:52:35','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D','The Period Type to report on: Period, Year, Total or Natural; where Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Period Type','Period Type',TO_DATE('2009-10-02 11:52:35','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 11:52:38 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54061 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 02/10/2009 11:56:47 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54062,0,'PAAmountType',TO_DATE('2009-10-02 11:56:46','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (DR-CR). Balance (expected sign) adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element.','Y','Amount Type','Amount Type',TO_DATE('2009-10-02 11:56:46','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 11:56:47 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54062 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Element SET Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.',Updated=TO_DATE('2009-10-02 11:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54061
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54061
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Column SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Element_ID=54061
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.', AD_Element_ID=54061 WHERE UPPER(ColumnName)='PAPERIODTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Element_ID=54061 AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Field SET Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54061) AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 11:58:09 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58553,54061,0,17,53327,446,'PAPeriodType',TO_DATE('2009-10-02 11:58:08','YYYY-MM-DD HH24:MI:SS'),100,'P','PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_DATE('2009-10-02 11:58:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 11:58:09 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58553 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 11:58:17 AM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportColumn ADD PAPeriodType CHAR(1) DEFAULT 'P'
;
-- 02/10/2009 11:59:04 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58554,54062,0,17,53328,446,'PAAmountType',TO_DATE('2009-10-02 11:59:03','YYYY-MM-DD HH24:MI:SS'),100,'B','PA Amount Type for reporting','D',1,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (DR-CR). Balance (expected sign) adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_DATE('2009-10-02 11:59:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 11:59:04 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58554 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Element SET Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.',Updated=TO_DATE('2009-10-02 12:01:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54062
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54062
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Element_ID=54062
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.', AD_Element_ID=54062 WHERE UPPER(ColumnName)='PAAMOUNTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Element_ID=54062 AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54062) AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 12:03:11 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58555,54062,0,17,53328,448,'PAAmountType',TO_DATE('2009-10-02 12:03:10','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D',2,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_DATE('2009-10-02 12:03:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 12:03:11 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58555 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:03:20 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET FieldLength=1,Updated=TO_DATE('2009-10-02 12:03:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=58555
;
-- 02/10/2009 12:03:23 PM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportLine ADD PAAmountType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:03:48 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58556,54061,0,17,53327,448,'PAPeriodType',TO_DATE('2009-10-02 12:03:47','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_DATE('2009-10-02 12:03:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 12:03:48 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58556 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:03:50 PM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportLine ADD PAPeriodType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:04:03 PM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportColumn ADD PAAmountType CHAR(1) DEFAULT 'B'
;
-- 02/10/2009 12:04:29 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2009-10-02 12:04:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6019
;
-- 02/10/2009 12:04:39 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2009-10-02 12:04:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7707
;
-- 02/10/2009 12:09:57 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58554,58041,0,374,TO_DATE('2009-10-02 12:09:56','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',110,TO_DATE('2009-10-02 12:09:56','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:09:57 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58041 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:11:17 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58553,58042,0,374,TO_DATE('2009-10-02 12:11:16','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','Y','Period Type',115,TO_DATE('2009-10-02 12:11:16','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:11:17 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58042 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:11:26 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2009-10-02 12:11:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4760
;
-- 02/10/2009 12:13:14 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58555,58043,0,376,TO_DATE('2009-10-02 12:13:13','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'@LineType@=S','D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',180,TO_DATE('2009-10-02 12:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:13:14 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58043 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:13:46 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58556,58044,0,376,TO_DATE('2009-10-02 12:13:45','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'@LineType@=S','D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','Y','Period Type',185,TO_DATE('2009-10-02 12:13:45','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:13:46 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58044 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:13:57 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2009-10-02 12:13:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5807
;
-- 02/10/2009 12:16:06 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58557,54062,0,17,53328,535,'PAAmountType',TO_DATE('2009-10-02 12:16:05','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D',1,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_DATE('2009-10-02 12:16:05','YYYY-MM-DD HH24:MI:SS'),100,1)
;
-- 02/10/2009 12:16:06 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58557 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:16:10 PM
-- Add signed amount type to fin report
ALTER TABLE I_ReportLine ADD PAAmountType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:16:40 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58558,54061,0,17,53327,535,'PAPeriodType',TO_DATE('2009-10-02 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_DATE('2009-10-02 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,1)
;
-- 02/10/2009 12:16:40 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58558 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:16:43 PM
-- Add signed amount type to fin report
ALTER TABLE I_ReportLine ADD PAPeriodType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:16:52 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2009-10-02 12:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7954
;
-- 02/10/2009 12:18:35 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58557,58045,0,444,TO_DATE('2009-10-02 12:18:35','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',160,TO_DATE('2009-10-02 12:18:35','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:18:35 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58045 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:18:56 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58558,58046,0,444,TO_DATE('2009-10-02 12:18:55','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','N','Period Type',165,TO_DATE('2009-10-02 12:18:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:18:56 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58046 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:19:04 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2009-10-02 12:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6043
;
-- 02/10/2009 1:48:32 PM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53546,TO_DATE('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity (accounted sign)',TO_DATE('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'R')
;
-- 02/10/2009 1:48:32 PM
-- Add signed amount type to fin report
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) 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 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=53546 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 1:48:43 PM
-- Add signed amount type to fin report
UPDATE AD_Ref_List SET Name='Quantity (expected sign)',Updated=TO_DATE('2009-10-02 13:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53544
;
-- 02/10/2009 1:48:43 PM
-- Add signed amount type to fin report
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53544
;
update pa_reportline set paamounttype = substr(amounttype, 1,1), paperiodtype = substr(amounttype,2,1);
update pa_reportcolumn set paamounttype = substr(amounttype, 1,1), paperiodtype = substr(amounttype,2,1);

View File

@ -1,28 +0,0 @@
--- BF 2944056 https://sourceforge.net/tracker/?func=detail&aid=2944056&group_id=176962&atid=879332
--- Fix Related and Substitute Inventory Quantity in the InfoProduct window
DROP VIEW M_PRODUCT_SUBSTITUTERELATED_V;
CREATE OR REPLACE VIEW M_PRODUCT_SUBSTITUTERELATED_V AS
SELECT s.ad_client_id, s.ad_org_id, s.isactive, s.created, s.createdby, s.updated, s.updatedby,
s.m_product_id, s.substitute_id, 'S' AS rowtype, mp.name, sum(ms.qtyonhand - ms.qtyreserved) AS qtyavailable, sum(ms.qtyonhand) AS qtyonhand, sum(ms.qtyreserved) AS qtyreserved,
ROUND(MAX(mpr.pricestd),0) AS pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id, org.name AS orgname
FROM m_substitute s
JOIN m_storage ms ON ms.m_product_id = s.substitute_id
JOIN m_product mp ON ms.m_product_id = mp.m_product_id
JOIN m_locator ml ON ms.m_locator_id = ml.m_locator_id
JOIN m_warehouse mw ON ml.m_warehouse_id = mw.m_warehouse_id
JOIN m_productprice mpr ON ms.m_product_id = mpr.m_product_id
JOIN ad_org org ON org.ad_org_id = mw.ad_org_id
GROUP BY s.ad_client_id, s.ad_org_id, s.isactive, s.created, s.createdby, s.updated, s.updatedby, s.m_product_id, s.substitute_id, mw.m_warehouse_id, mpr.m_pricelist_version_id, org.name, mp.name
UNION
SELECT r.ad_client_id, r.ad_org_id, r.isactive, r.created, r.createdby, r.updated, r.updatedby,
r.m_product_id, r.relatedproduct_id AS substitute_id, 'R' AS rowtype, mp.name, sum(ms.qtyonhand - ms.qtyreserved) AS qtyavailable, sum(ms.qtyonhand) AS qtyonhand, sum(ms.qtyreserved) AS qtyreserved, round(MAX(mpr.pricestd),0) AS pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id, org.name AS orgname
FROM m_relatedproduct r
JOIN m_storage ms ON ms.m_product_id = r.relatedproduct_id
JOIN m_product mp ON ms.m_product_id = mp.m_product_id
JOIN m_locator ml ON ms.m_locator_id = ml.m_locator_id
JOIN m_warehouse mw ON ml.m_warehouse_id = mw.m_warehouse_id
JOIN m_productprice mpr ON ms.m_product_id = mpr.m_product_id
JOIN ad_org org ON org.ad_org_id = mw.ad_org_id
GROUP BY r.ad_client_id, r.ad_org_id, r.isactive, r.created, r.createdby, r.updated, r.updatedby, r.m_product_id, r.relatedproduct_id, mw.m_warehouse_id, mpr.m_pricelist_version_id, org.name, mp.name;

View File

@ -1,30 +0,0 @@
-- Feb 8, 2010 3:00:56 PM EST
-- Advanced search
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53092,0,TO_DATE('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','And/Or','I',TO_DATE('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'And/Or')
;
-- Feb 8, 2010 3:00:57 PM EST
-- Advanced search
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=53092 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)
;
-- Feb 8, 2010 3:01:21 PM EST
-- Advanced search
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53093,0,TO_DATE('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','AND','I',TO_DATE('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'AND')
;
-- Feb 8, 2010 3:01:21 PM EST
-- Advanced search
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=53093 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)
;
-- Feb 8, 2010 3:01:42 PM EST
-- Advanced search
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53094,0,TO_DATE('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','OR','I',TO_DATE('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'OR')
;
-- Feb 8, 2010 3:01:42 PM EST
-- Advanced search
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=53094 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)
;

View File

@ -1,5 +0,0 @@
-- Feb 8, 2010 4:05:08 PM EST
-- BF2944388
UPDATE AD_Column SET IsIdentifier='Y', SeqNo=1,Updated=TO_DATE('2010-02-08 16:05:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57563
;

View File

@ -1,35 +0,0 @@
-- Feb 11, 2010 3:41:40 PM EST
-- Reset Allocation
INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('2',0,0,53199,'org.compiere.process.AllocationReset',TO_DATE('2010-02-11 15:41:38','YYYY-MM-DD HH24:MI:SS'),100,'Reset (delete) allocation of invoices to payments','D','Delete individual allocation. In contrast to "Reverse", the allocation is deleted (no trace), if the period is open.','Y','N','N','N','N','Reset Allocation Direct','Y',0,0,TO_DATE('2010-02-11 15:41:38','YYYY-MM-DD HH24:MI:SS'),100,'C_Allocation_Reset_Direct')
;
-- Feb 11, 2010 3:41:40 PM EST
-- Reset Allocation
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53199 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID)
;
-- Feb 11, 2010 3:43:37 PM EST
-- Reset Allocation
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=10431
;
-- Feb 11, 2010 3:44:45 PM EST
-- Reset Allocation
UPDATE AD_Column SET AD_Process_ID=53199, AD_Reference_ID=28,Updated=TO_DATE('2010-02-11 15:44:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12314
;
-- Feb 11, 2010 3:44:49 PM EST
-- Reset Allocation
UPDATE AD_Field SET Description='Reset (delete) allocation of invoices to payments', Name='Reset Allocation',Updated=TO_DATE('2010-02-11 15:44:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10431
;
-- Feb 11, 2010 3:44:49 PM EST
-- Reset Allocation
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10431
;
-- Feb 11, 2010 3:50:09 PM EST
-- Reset Allocation
UPDATE AD_Column SET IsAlwaysUpdateable='Y',Updated=TO_DATE('2010-02-11 15:50:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12314
;

View File

@ -1,261 +0,0 @@
SET DEFINE OFF;
UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting and security access (via role)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=134;
UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID IN (131,135,136,137,2514,2515);
UPDATE AD_ELEMENT SET HELP='A Callout allow you to create Java extensions to perform certain tasks always after a value changed. Callouts should not be used for validation but consequences of a user selecting a certain value.
The callout is a Java class implementing org.compiere.model.Callout and a method name to call. Example: "org.compiere.model.CalloutRequest.copyText" instantiates the class "CalloutRequest" and calls the method "copyText". You can have multiple callouts by separating them via a semicolon', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=224;
UPDATE AD_ELEMENT SET HELP='The Costing Method indicates how costs will be calculated (Standard, Average, Lifo, FiFo). The default costing method is defined on accounting schema level and can be optionally overwritten in the product category. The costing method cannot conflict with the Material Movement Policy (defined on Product Category).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=241;
UPDATE AD_ELEMENT SET NAME='Records deletable',PRINTNAME='Records deletable', HELP='The Records Deletable checkbox indicates if a record can be deleted from the database. If records cannot be deleted, you can only deselect the Active flag', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=366;
UPDATE AD_ELEMENT SET HELP='The Sales Rep checkbox indicates if this business partner is a sales representative. A sales representative may also be an employee, but does not need to be.'
, PO_HELP='The Sales Rep checkbox indicates if this business partner is a company agent. A company agent may also be an employee, but does not need to be.'
, UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=409;
UPDATE AD_ELEMENT SET NAME='Updatable',PRINTNAME='Updatable', HELP='The Updatable checkbox indicates if a field can be updated by the user.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=422;
UPDATE AD_ELEMENT SET NAME='User updatable',PRINTNAME='User updatable', HELP='The User Updatable checkbox indicate if the user can update this field.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=423;
UPDATE AD_ELEMENT SET HELP='The Credit Limit indicates the total amount allowed "on account" in primary accounting currency. If the Credit Limit is 0, no check is performed. Credit Management is based on the Total Open Amount, which includes Vendor activities.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=553;
UPDATE AD_ELEMENT SET HELP='The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you close an order, unshipped (backordered) quantities are cancelled.'
, PO_HELP='The Purchase Order is a control document. The Purchase Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you close an order, unshipped (backordered) quantities are cancelled.'
, UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=558;
UPDATE AD_ELEMENT SET HELP='The Enforce Price Limit check box indicates that prices cannot be below the limit price in Orders and Invoices. This can be overwritten, if the role allows this.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=882;
UPDATE AD_ELEMENT SET HELP='The SO Sub Type indicates the type of sales order this document refers to. This field only appears when the Document Base Type is Sales Order. The selection made here will determine which documents will be generated when an order is processed and which documents must be generated manually or in batches. <br>
The following outlines this process.<br>
SO Sub Type of <b>Standard Order</b> will generate just the <b>Order</b> document when the order is processed. <br>
The <b>Delivery Note</b>, <b>Invoice</b> and <b>Receipt</b> must be generated via other processes. <br>
SO Sub Type of <b>Warehouse Order</b> will generate the <b>Order</b> and <b>Delivery Note</b>. <br> The <b>Invoice</b> and <b>Receipt</b> must be generated via other processes.<br>
SO Sub Type of <b>Credit Order</b> will generate the <b>Order</b>, <b>Delivery Note</b> and <b>Invoice</b>. <br> The <b>Receipt</b> must be generated via other processes.<br>
SO Sub Type of <b>POS</b> (Point of Sale) will generate all document', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1018;
UPDATE AD_ELEMENT SET DESCRIPTION='Account for Vendor Service Liability', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1057;
UPDATE AD_ELEMENT SET HELP='The Days After Due Date indicates the number of days after the payment due date to initiate dunning. If the number is negative, it includes not the not due invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1092;
UPDATE AD_ELEMENT SET HELP='The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (100 = highest priority, 0 = lowest). For outgoing shipments, the location is picked with the highest priority where the entire quantity can be shipped from. If there is no location, the location with the highest priority is used.
The Priority is ignored for products with Guarantee Date (always the oldest first) or if a specific instance is selected.
Incoming receipts are stored at the location with the highest priority, if not explicitly selected.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1145;
UPDATE AD_ELEMENT SET HELP='When processing a web order, a confirmation is sent to the EMail address of the customer from the request EMail address copying this email address when entered.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1993;
UPDATE AD_ELEMENT SET HELP='Web Click Details', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2007;
UPDATE AD_ELEMENT SET HELP='Attributes are specific to a Product Attribute Set (e.g. Size for T-Shirts: S,M,L). If you have multiple attributes and want to search under a common attribute, you define a search attribute. Example: have one Size search attribute combining the values of all different sizes (Size for Dress Shirt XL,L,M,S,XS). The Attribute Search allows you to have all values available for selection. This eases the maintenance of the individual product attribute.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2025;
UPDATE AD_ELEMENT SET DESCRIPTION='Included Tab in this Tab (Master Detail)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2026;
UPDATE AD_ELEMENT SET HELP='Internal (Operating System) Name of the Printer; Please mote that the printer name may be different on different clients. Enter a printer name, which applies to ALL clients (e.g. printer on a server). <p>
If none is entered, the default printer is used. You specify your default printer when you log in. You can also change the default printer in Preferences.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2051;
UPDATE AD_ELEMENT SET DESCRIPTION='Assignment to (transaction) Organization', HELP='Assignment to the transaction organization (cost center).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2072;
UPDATE AD_ELEMENT SET HELP='"You can purchase professional support from Adempiere, Inc. or their partners. See http://www.adempiere.com for details.
"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2124;
UPDATE AD_ELEMENT SET HELP='The Type of data Replication determines the direction of the data replication. <br>
Reference means that the data in this system is read only -> <br>
Local means that the data in this system is not replicated to other systems - <br>
Merge means that the data in this system is synchronized with the other system <-> <br>', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2137;
UPDATE AD_ELEMENT SET HELP='If selected, public users can read/view the entry. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2139;
UPDATE AD_ELEMENT SET HELP='If selected, public users can write/create entries. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2140;
UPDATE AD_ELEMENT SET HELP='Set up knowledge categories and values as a search aid. Examples are Release Version, Product Area, etc. Knowledge Category values act like keywords.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2141;
UPDATE AD_ELEMENT SET DESCRIPTION='Related Entry for this Entry'
, HELP='Related Knowledge Entry for this Knowledge Entry'
, UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2145;
UPDATE AD_ELEMENT SET HELP='The Source of a Knowledge Entry is a pointer to the originating system. The Knowledge Entry has an additional entry (Description URL) for more detailed info.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2146;
UPDATE AD_ELEMENT SET DESCRIPTION='Knowledge Keyword Synonym', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2147;
UPDATE AD_ELEMENT SET HELP='Topic or Discussion Thead', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2148;
UPDATE AD_ELEMENT SET NAME='Knowledge Type', HELP='Area of knowledge - A Type has multiple Topics', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2149;
UPDATE AD_ELEMENT SET DESCRIPTION='Name of the Project Cycle Step', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2165;
UPDATE AD_ELEMENT SET DESCRIPTION='Minimum Amount in Document Currency', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2177;
UPDATE AD_ELEMENT SET DESCRIPTION='Minimum number of guarantee days', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2197;
UPDATE AD_ELEMENT SET HELP='If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document. This for including descriptive detail lines, e.g. for an Work Order.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2183;
UPDATE AD_ELEMENT SET HELP='This allows to have the three general situations of "not open" - "open" - "closed"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2201;
UPDATE AD_ELEMENT SET NAME='Calculate Maximum (?)', DESCRIPTION='Calculate the maximum amount', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2207;
UPDATE AD_ELEMENT SET HELP='A running total creates a sum at the end of a page and on the top of the next page for all columns, which have a Sum function. You should define running total only once per format.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2212;
UPDATE AD_ELEMENT SET DESCRIPTION='Electronic Funds Transfer Payee Account Information', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2233;
UPDATE AD_ELEMENT SET DESCRIPTION='Shelf Life Days remaining to Guarantee Date (minus minimum guarantee days)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2237;
UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2240;
UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2264;
UPDATE AD_ELEMENT SET DESCRIPTION='If selected, the product is displayed in the initial or any empty search'
, HELP='In the display of products in the Web Store, the product is displayed in the initial view or if no search criteria are entered. To be displayed, the product must be in the price list used.'
, UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2277;
UPDATE AD_ELEMENT SET HELP='The loader definition provides the parameters to load bank statements from EFT formats like SWIFT (MT940) or OFX', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2283;
UPDATE AD_ELEMENT SET DESCRIPTION='Date format used in the input format', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2286;
UPDATE AD_ELEMENT SET HELP='Activity Result of the execution of the Workflow Process Instance', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2308;
UPDATE AD_ELEMENT SET HELP='History of changes of the Workflow Process Activity', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2310;
UPDATE AD_ELEMENT SET HELP='Semantics for multiple outgoing Transitions for a Node/Activity. AND represents multiple concurrent threads - XOR represents the first transition with a true Transition condition.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2337;
UPDATE AD_ELEMENT SET HELP='You can create a bid for a topic. Depending on the type, the highest bidder wins the Topic - or you participate in funding for a Topic.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2360;
UPDATE AD_ELEMENT SET HELP='Available Funds (from Payments) and Committed or Uncommitted funds for Bids', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2362;
UPDATE AD_ELEMENT SET HELP='Available Funds (for Payments) and Committed or Uncommitted funds from Offers', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2364;
UPDATE AD_ELEMENT SET DESCRIPTION='An Error occurred in the execution', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2395;
UPDATE AD_ELEMENT SET DESCRIPTION='The response can have just the total amount for the RfQ', HELP='If not selected, the response must be provided per line', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2403;
UPDATE AD_ELEMENT SET DESCRIPTION='Are Responses to the Request for Quotation accepted', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2404;
UPDATE AD_ELEMENT SET DESCRIPTION='The response is the selected winner', HELP='The response is the selected winner. If selected on Response level, the line selections are ignored.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2405;
UPDATE AD_ELEMENT SET DESCRIPTION='Product used to determine the price of the membership for the topic type', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2415;
UPDATE AD_ELEMENT SET HELP='Consecutive range to', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2455;
UPDATE AD_ELEMENT SET HELP='Define the method how the next occurrence is calculated', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2457;
UPDATE AD_ELEMENT SET HELP='If selected and if the window / tab is not read only, you can always update the column. This might be useful for comments, etc.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2468;
UPDATE AD_ELEMENT SET DESCRIPTION='Elapsed Time in milli seconds', HELP='Elapsed Time in milli seconds', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2474;
UPDATE AD_ELEMENT SET DESCRIPTION='Distribution Run Lines define Distribution List, the Product and Quantities', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2486;
UPDATE AD_ELEMENT SET HELP='Maintain and allow to transfer general statistics (number of clients, orgs, business partners, users, products, invoices) to get a better feeling for the application use. This information is not published.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2489;
UPDATE AD_ELEMENT SET HELP='Forecast of Product Quantity by Period', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2499;
UPDATE AD_ELEMENT SET HELP='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity. If the Balance is below zero, we owe the Business Partner. The amount is used for Credit Management.
Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2562;
UPDATE AD_ELEMENT SET HELP='The Attribute Value type determines the data/validation type', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2574;
UPDATE AD_ELEMENT SET DESCRIPTION='Value set by Migration for post-Migration tasks.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2625;
UPDATE AD_ELEMENT SET DESCRIPTION='Type of Workflow', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2626;
UPDATE AD_ELEMENT SET HELP='When a document is due for too long without activity, a reminder is sent. 0 means no reminders.
The Remind Days are the days when the next email reminder is sent.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2631;
UPDATE AD_ELEMENT SET HELP='Internal name of the transaction', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2655;
UPDATE AD_ELEMENT SET HELP='List of classes implementing the interface org.compiere.model.ModelValidator, separated by semicolon.
The class is called for the client and allows to validate documents in the prepare stage and monitor model changes.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2670;
UPDATE AD_ELEMENT SET HELP='This allows to have multiple closed status', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2723;
UPDATE AD_ELEMENT SET HELP='The EMail address is used to send mails to users of the web store', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2731;
UPDATE AD_ELEMENT SET DESCRIPTION='Assignment of Employee (User) to Job Position', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2763;
UPDATE AD_ELEMENT SET HELP='Subscriber to invite to respond to RfQs', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2377;
UPDATE AD_ELEMENT SET HELP='Once per operation', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2779;
UPDATE AD_ELEMENT SET HELP='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group refers to a Bill of Materials', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2785;
UPDATE AD_ELEMENT SET HELP='The Bill of Material Component determines what products, services and outside processing is included in producing the Product. It references the operation and determines it''s sequence.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2786;
UPDATE AD_ELEMENT SET HELP='Phantom Component are not stored and produced with the product. This is an option to avoid maintaining an Engineering and Manufacturing Bill of Materials.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2788;
UPDATE AD_ELEMENT SET DESCRIPTION='Optional Lead Time offset before starting production', HELP='Optional Lead Time offset before starting production', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2789;
UPDATE AD_ELEMENT SET HELP='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselect it, the user has no access rights unless, you explicitly grant it in tab "BP Access"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2835;
UPDATE AD_ELEMENT SET DESCRIPTION='User/contact access to Business Partner information and resources', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2836;
UPDATE AD_ELEMENT SET HELP='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2843;
UPDATE AD_ELEMENT SET HELP='Note that the cost queue may not be the same as the physical movement cost queue due to differences in costing level and warehouse priority.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2845;
UPDATE AD_ELEMENT SET HELP='Account used for posting matched product (item) expenses (e.g. AP Invoice, Invoice Match). You would use a different account then Product Expense, if you want to differentiate service related costs from item related costs. The balance on the clearing account should be zero and accounts for the timing difference between invoice receipt and matching.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2847;
UPDATE AD_ELEMENT SET HELP='If selected, you will post service related revenue to a different receivables account and service related cost to a different payables account.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2849;
UPDATE AD_ELEMENT SET HELP='Enter the number of records the query will return without confirmation to avoid unnecessary system load. If 0, the system default of 500 is used.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2853;
UPDATE AD_ELEMENT SET HELP='Enter the number of records a user will be able to query to avoid unnecessary system load. If 0, no restrictions are imposed.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2854;
UPDATE AD_ELEMENT SET HELP='The Posting Type Commitments is created when posting Purchase Orders; The Posting Type Reservation is created when posting Requisitions. This is used for budgetary control.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2860;
UPDATE AD_ELEMENT SET HELP='Accounting related information for reconciliation with documents. It includes all revenue/expense and tax entries as a base for detail reporting', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2864;
UPDATE AD_ELEMENT SET HELP='If selected AP tax is handled as expense, otherwise it is handled as a VAT credit.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2870;
UPDATE AD_ELEMENT SET HELP='Budget Control allows you to restrict the use of expenditures, commitments (Purchase Orders) and reservations (Requisitions). If defined, you may not be able to approve Requisitions, Purchase Orders, or AP Invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2871;
UPDATE AD_ELEMENT SET HELP='A user defined accounting element refers to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID IN (2877,2878);
UPDATE AD_ELEMENT SET HELP='Visual representation of performance by color. The Schema has often three levels (e.g. red-yellow-green). Adempiere support two levels (e.g. red-green) or four levels (e.g. gray-bronze-silver-gold). Note that Measures without a goal are represented white. The percentages could be between 0 and unlimited (i.e. above 100%).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2903;
UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio', HELP='Calculation instruction set for a performance ratio', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2919;
UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio Used', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2929;
UPDATE AD_ELEMENT SET NAME='Next Maintenance',PRINTNAME='Next Maintenance', DESCRIPTION='Next Maintenance Date', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2932;
UPDATE AD_ELEMENT SET DESCRIPTION='Next Maintenance Unit', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2934;
UPDATE AD_ELEMENT SET HELP='The Meta Robots Tag define on how a search engines robot should handle this page and the following ones. It defines two keywords: (NO)INDEX which defines whether or not to index this content and (NO)FOLLOW which defines whether or not to follow links. The most common combination is INDEX,FOLLOW which will force a search robot to index the content and follow links and images.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2975;
UPDATE AD_ELEMENT SET DESCRIPTION='Contains list of elements separated by CR', HELP='Contains a list of elements this template uses separated by a Carriage Return. Last line should be empty', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2983;
UPDATE AD_ELEMENT SET HELP='A Container defines the abstract level around the content, it defines how the content gets displayed, indexed and stored.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2985;
UPDATE AD_ELEMENT SET DESCRIPTION='External Link (URL) for the Container', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2988;
UPDATE AD_ELEMENT SET HELP='This table contains all the media content like images, flash movies etc.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2997;
UPDATE AD_ELEMENT SET HELP='If we have a block in content where announce content and also sponsored links we should mention the sponsored ones', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3007;
UPDATE AD_ELEMENT SET HELP='Media Server list to which content should get transferred', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3009;
UPDATE AD_ELEMENT SET HELP='A container element defines the smallest definition of content, i.e. the headline, the content etc.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID IN (3013,3023);
UPDATE AD_ELEMENT SET HELP='The date the revenue recognition starts.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3032;
UPDATE AD_ELEMENT SET DESCRIPTION='Container Stage Template Table', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3050;
UPDATE AD_ELEMENT SET HELP='The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintained by Adempiere (i.e. all changes are reversed during migration to the current definition).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3052;
UPDATE AD_ELEMENT SET HELP='If your application requires additional jar files, enter them here. The jar files must be located in the $ADEMPIERE_HOME/lib directory.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3054;
UPDATE AD_ELEMENT SET HELP='Keyword not to be indexed, optional restricted to specific Document Type, Container or Request Type', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3078;
UPDATE AD_ELEMENT SET DESCRIPTION='Open Debit in document currency & rate', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3083;
UPDATE AD_ELEMENT SET DESCRIPTION='Open Credit in document currency & rate', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3084;
UPDATE AD_ELEMENT SET DESCRIPTION='Open Balance in document currency & rate', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3085;
UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all due invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3088;
UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all not due invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3089;
UPDATE AD_ELEMENT SET HELP='The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authenticate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3093;
UPDATE AD_ELEMENT SET PRINTNAME=NAME, DESCRIPTION='Table to check whether the migration script has been applied', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=53350;
COMMIT;

View File

@ -1,20 +0,0 @@
-- Feb 15, 2010 5:40:55 PM CST
-- Create new importer for Planning Data and Forecast
UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_DATE('2010-02-15 17:40:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
;
-- Feb 15, 2010 5:41:22 PM CST
-- Create new importer for Planning Data and Forecast
UPDATE AD_Column SET Help=NULL, IsIdentifier='Y', SeqNo=2,Updated=TO_DATE('2010-02-15 17:41:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
;
-- Feb 15, 2010 5:41:22 PM CST
-- Create new importer for Planning Data and Forecast
UPDATE AD_Field SET Name='Resource', Description='Resource', Help=NULL WHERE AD_Column_ID=53400 AND IsCentrallyMaintained='Y'
;
-- Feb 15, 2010 5:41:44 PM CST
-- Create new importer for Planning Data and Forecast
UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', SeqNo=3,Updated=TO_DATE('2010-02-15 17:41:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
;

View File

@ -1,160 +0,0 @@
-- Feb 19, 2010 5:22:38 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54123,0,'IsIgnoreProcessingTime',TO_DATE('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Ignore Processing Time','Ignore Proccessing Time',TO_DATE('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:22:38 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54123 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Feb 19, 2010 5:26:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54124,0,'CronPattern',TO_DATE('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Cron Scheduling Pattern','Cron Scheduling Pattern',TO_DATE('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:26:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54124 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Feb 19, 2010 5:29:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59028,54123,0,20,688,'IsIgnoreProcessingTime',TO_DATE('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Do not include processing time for the DateNextRun calculation','D',1,'When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Ignore Processing Time',0,TO_DATE('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 19, 2010 5:29:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59028 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)
;
-- Feb 19, 2010 5:29:16 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
ALTER TABLE AD_Scheduler ADD IsIgnoreProcessingTime CHAR(1) DEFAULT 'N' CHECK (IsIgnoreProcessingTime IN ('Y','N'))
;
-- Feb 19, 2010 5:46:42 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59029,54124,0,10,688,'CronPattern',TO_DATE('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D',255,'Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Cron Scheduling Pattern',0,TO_DATE('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 19, 2010 5:46:42 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59029 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)
;
-- Feb 19, 2010 5:46:46 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
ALTER TABLE AD_Scheduler ADD CronPattern NVARCHAR2(255) DEFAULT NULL
;
-- Feb 19, 2010 5:47:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2010-02-19 17:47:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247
;
-- Feb 19, 2010 5:47:18 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2010-02-19 17:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255
;
-- Feb 19, 2010 5:48:07 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2010-02-19 17:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=665
;
-- Feb 19, 2010 5:48:10 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2010-02-19 17:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=664
;
-- Feb 19, 2010 5:49:04 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,318,53574,TO_DATE('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Use cron style scheduling pattern','D','Y','Cron Scheduling Pattern',TO_DATE('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'C')
;
-- Feb 19, 2010 5:49:04 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
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) 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 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=53574 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)
;
-- Feb 19, 2010 5:53:21 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2010-02-19 17:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10053
;
-- Feb 19, 2010 5:53:26 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2010-02-19 17:53:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10052
;
-- Feb 19, 2010 5:54:51 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59028,58773,0,589,TO_DATE('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation',10,'@ScheduleType@=F','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','Y','N','N','N','N','N','Ignore Processing Time',160,0,TO_DATE('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:54:51 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58773 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)
;
-- Feb 19, 2010 5:55:49 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsMandatory,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59029,58774,0,589,TO_DATE('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.',60,'@ScheduleType@=C','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','Y','N','N','N','Y','N','N','Cron Scheduling Pattern',170,0,TO_DATE('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:55:49 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58774 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)
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10053
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10052
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=9437
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9430
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=58773
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=58774
;
-- Feb 19, 2010 5:57:21 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-02-19 17:57:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9430
;
-- Feb 19, 2010 5:57:28 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-02-19 17:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9437
;
-- Feb 22, 2010 9:31:45 AM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53095,0,TO_DATE('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Invalid cron scheduling pattern','Invalid cron scheduling pattern - check syntax','E',TO_DATE('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'InvalidCronPattern')
;
-- Feb 22, 2010 9:31:45 AM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
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=53095 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)
;

View File

@ -1,10 +0,0 @@
-- Feb 24, 2010 4:03:13 PM EST
-- Payment selection due date parameter
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2000,0,156,53404,15,'DueDate',TO_DATE('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Date when the payment is due','@OnlyDue@=Y','D',7,'Date when the payment is due without deductions or discount','Y','Y','N','N','Due Date',45,TO_DATE('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 24, 2010 4:03:13 PM EST
-- Payment selection due date parameter
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53404 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
;

View File

@ -1,5 +0,0 @@
-- 01-mar-2010 12:10:16 COT
-- Bug_2904257_wrong validation sql for M_InOutShipment/Receipt (RMA)
UPDATE AD_Val_Rule SET Code='M_InOutLine.M_InOut_ID=@InOut_ID@',Updated=TO_DATE('2010-03-01 12:10:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=52001
;

View File

@ -1,237 +0,0 @@
-- Mar 2, 2010 2:06:30 PM COT
-- FR_2962094_Finish implementation of weighted average costing
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54128,0,'ProcessedOn',TO_DATE('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Processed On','Processed On',TO_DATE('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 2, 2010 2:06:30 PM COT
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54128 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Mar 2, 2010 2:08:58 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59034,54128,0,22,735,'ProcessedOn',TO_DATE('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:08:58 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59034 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 2, 2010 2:09:03 PM COT
ALTER TABLE C_AllocationHdr ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:09:54 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59035,54128,0,22,392,'ProcessedOn',TO_DATE('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:09:54 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59035 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 2, 2010 2:09:56 PM COT
ALTER TABLE C_BankStatement ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:10:39 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59036,54128,0,22,407,'ProcessedOn',TO_DATE('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:10:39 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59036 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 2, 2010 2:10:42 PM COT
ALTER TABLE C_Cash ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:11:19 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59037,54128,0,22,318,'ProcessedOn',TO_DATE('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:11:19 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59037 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 2, 2010 2:11:22 PM COT
ALTER TABLE C_Invoice ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:11:48 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59038,54128,0,22,259,'ProcessedOn',TO_DATE('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:11:48 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59038 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 2, 2010 2:11:51 PM COT
ALTER TABLE C_Order ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:12:19 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59039,54128,0,22,335,'ProcessedOn',TO_DATE('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:12:19 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59039 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 2, 2010 2:12:22 PM COT
ALTER TABLE C_Payment ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:12:53 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59040,54128,0,22,623,'ProcessedOn',TO_DATE('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:12:53 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59040 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 2, 2010 2:12:55 PM COT
ALTER TABLE C_ProjectIssue ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:13:31 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59041,54128,0,22,53037,'ProcessedOn',TO_DATE('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:13:31 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59041 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 2, 2010 2:13:34 PM COT
ALTER TABLE DD_Order ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:13:58 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59042,54128,0,22,224,'ProcessedOn',TO_DATE('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:13:58 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59042 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 2, 2010 2:14:00 PM COT
ALTER TABLE GL_Journal ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:14:24 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59043,54128,0,22,53092,'ProcessedOn',TO_DATE('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:14:24 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59043 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 2, 2010 2:14:36 PM COT
ALTER TABLE HR_Process ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:15:02 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59044,54128,0,22,319,'ProcessedOn',TO_DATE('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:15:02 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59044 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 2, 2010 2:15:05 PM COT
ALTER TABLE M_InOut ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:15:29 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59045,54128,0,22,321,'ProcessedOn',TO_DATE('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:15:29 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59045 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 2, 2010 2:15:30 PM COT
ALTER TABLE M_Inventory ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:15:52 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59046,54128,0,22,472,'ProcessedOn',TO_DATE('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:15:52 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59046 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 2, 2010 2:15:53 PM COT
ALTER TABLE M_MatchInv ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:16:16 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59047,54128,0,22,473,'ProcessedOn',TO_DATE('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:16:16 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59047 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 2, 2010 2:16:17 PM COT
ALTER TABLE M_MatchPO ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:16:43 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59048,54128,0,22,323,'ProcessedOn',TO_DATE('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:16:43 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59048 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 2, 2010 2:16:44 PM COT
ALTER TABLE M_Movement ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:17:09 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59049,54128,0,22,325,'ProcessedOn',TO_DATE('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:17:09 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59049 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 2, 2010 2:17:11 PM COT
ALTER TABLE M_Production ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:17:33 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59050,54128,0,22,702,'ProcessedOn',TO_DATE('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:17:33 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59050 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 2, 2010 2:17:35 PM COT
ALTER TABLE M_Requisition ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:18:10 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59051,54128,0,22,53035,'ProcessedOn',TO_DATE('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:18:10 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59051 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 2, 2010 2:18:12 PM COT
ALTER TABLE PP_Cost_Collector ADD ProcessedOn NUMBER DEFAULT NULL
;
-- Mar 2, 2010 2:18:38 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59052,54128,0,22,53027,'ProcessedOn',TO_DATE('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:18:38 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59052 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 2, 2010 2:18:40 PM COT
ALTER TABLE PP_Order ADD ProcessedOn NUMBER DEFAULT NULL
;

View File

@ -1,421 +0,0 @@
-- create temporary index
CREATE INDEX tmp_ad_wf_activity_speed ON ad_wf_activity(ad_table_id, record_id);
-- ****** SET ProcessedOn on table C_AllocationHdr ******
-- try to get the processed from ad_changelog
update C_AllocationHdr set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 735 and record_id = C_AllocationHdr.C_AllocationHdr_id and ad_column_id = 12309
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_AllocationHdr set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 735 and a.record_id = C_AllocationHdr.C_AllocationHdr_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_AllocationHdr set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_BankStatement ******
-- try to get the processed from ad_changelog
update C_BankStatement set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 392 and record_id = C_BankStatement.C_BankStatement_id and ad_column_id = 4924
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_BankStatement set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 392 and a.record_id = C_BankStatement.C_BankStatement_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_BankStatement set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Cash ******
-- try to get the processed from ad_changelog
update C_Cash set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 407 and record_id = C_Cash.C_Cash_id and ad_column_id = 5258
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Cash set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 407 and a.record_id = C_Cash.C_Cash_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Cash set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Invoice ******
-- try to get the processed from ad_changelog
update C_Invoice set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 318 and record_id = C_Invoice.C_Invoice_id and ad_column_id = 3497
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Invoice set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 318 and a.record_id = C_Invoice.C_Invoice_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Invoice set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Order ******
-- try to get the processed from ad_changelog
update C_Order set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 259 and record_id = C_Order.C_Order_id and ad_column_id = 3398
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Order set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 259 and a.record_id = C_Order.C_Order_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Order set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Payment ******
-- try to get the processed from ad_changelog
update C_Payment set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 335 and record_id = C_Payment.C_Payment_id and ad_column_id = 3878
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Payment set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 335 and a.record_id = C_Payment.C_Payment_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Payment set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_ProjectIssue ******
-- try to get the processed from ad_changelog
update C_ProjectIssue set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 623 and record_id = C_ProjectIssue.C_ProjectIssue_id and ad_column_id = 9842
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_ProjectIssue set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 623 and a.record_id = C_ProjectIssue.C_ProjectIssue_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_ProjectIssue set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table DD_Order ******
-- try to get the processed from ad_changelog
update DD_Order set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 53037 and record_id = DD_Order.DD_Order_id and ad_column_id = 53912
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update DD_Order set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53037 and a.record_id = DD_Order.DD_Order_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update DD_Order set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table GL_Journal ******
-- try to get the processed from ad_changelog
update GL_Journal set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 224 and record_id = GL_Journal.GL_Journal_id and ad_column_id = 5953
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update GL_Journal set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 224 and a.record_id = GL_Journal.GL_Journal_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update GL_Journal set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table HR_Process ******
-- try to get the processed from ad_changelog
update HR_Process set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 53092 and record_id = HR_Process.HR_Process_id and ad_column_id = 54876
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update HR_Process set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53092 and a.record_id = HR_Process.HR_Process_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update HR_Process set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_InOut ******
-- try to get the processed from ad_changelog
update M_InOut set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 319 and record_id = M_InOut.M_InOut_id and ad_column_id = 3518
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_InOut set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 319 and a.record_id = M_InOut.M_InOut_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_InOut set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Inventory ******
-- try to get the processed from ad_changelog
update M_Inventory set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 321 and record_id = M_Inventory.M_Inventory_id and ad_column_id = 3553
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Inventory set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 321 and a.record_id = M_Inventory.M_Inventory_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Inventory set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_MatchInv ******
-- try to get the processed from ad_changelog
update M_MatchInv set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 472 and record_id = M_MatchInv.M_MatchInv_id and ad_column_id = 6511
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_MatchInv set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 472 and a.record_id = M_MatchInv.M_MatchInv_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_MatchInv set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_MatchPO ******
-- try to get the processed from ad_changelog
update M_MatchPO set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 473 and record_id = M_MatchPO.M_MatchPO_id and ad_column_id = 6527
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_MatchPO set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 473 and a.record_id = M_MatchPO.M_MatchPO_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_MatchPO set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Movement ******
-- try to get the processed from ad_changelog
update M_Movement set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 323 and record_id = M_Movement.M_Movement_id and ad_column_id = 3580
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Movement set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 323 and a.record_id = M_Movement.M_Movement_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Movement set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Production ******
-- try to get the processed from ad_changelog
update M_Production set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 325 and record_id = M_Production.M_Production_id and ad_column_id = 3609
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Production set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 325 and a.record_id = M_Production.M_Production_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Production set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Requisition ******
-- try to get the processed from ad_changelog
update M_Requisition set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 702 and record_id = M_Requisition.M_Requisition_id and ad_column_id = 11473
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Requisition set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 702 and a.record_id = M_Requisition.M_Requisition_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Requisition set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table PP_Cost_Collector ******
-- try to get the processed from ad_changelog
update PP_Cost_Collector set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 53035 and record_id = PP_Cost_Collector.PP_Cost_Collector_id and ad_column_id = 53834
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update PP_Cost_Collector set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53035 and a.record_id = PP_Cost_Collector.PP_Cost_Collector_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update PP_Cost_Collector set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table PP_Order ******
-- try to get the processed from ad_changelog
update PP_Order set processedon =
(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
where ad_table_id = 53027 and record_id = PP_Order.PP_Order_id and ad_column_id = 53664
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update PP_Order set processedon =
(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53027 and a.record_id = PP_Order.PP_Order_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update PP_Order set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
where processedon is null and processed = 'Y';
-- drop temporary index
DROP INDEX tmp_ad_wf_activity_speed;

View File

@ -1,15 +0,0 @@
-- Mar 4, 2010 1:33:05 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''DIS''',Updated=TO_DATE('2010-03-04 13:33:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53141
;
-- Mar 4, 2010 1:33:13 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''SPL''',Updated=TO_DATE('2010-03-04 13:33:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53151
;
-- Mar 4, 2010 1:33:21 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''TRN''',Updated=TO_DATE('2010-03-04 13:33:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53140
;

View File

@ -1,105 +0,0 @@
-- Mar 4, 2010 1:54:35 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_DATE('2010-03-04 13:54:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55347
;
-- Mar 4, 2010 1:55:33 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_DATE('2010-03-04 13:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
;
-- Mar 4, 2010 1:56:07 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation MODIFY Processed CHAR(1) DEFAULT 'Y'
;
-- Mar 4, 2010 1:56:08 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation SET Processed='Y' WHERE Processed IS NULL
;
-- Mar 4, 2010 1:56:28 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2010-03-04 13:56:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
;
-- Mar 4, 2010 1:56:30 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Entry MODIFY Processed CHAR(1) DEFAULT 'N'
;
-- Mar 4, 2010 1:56:31 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation_Entry SET Processed='N' WHERE Processed IS NULL
;
-- Mar 4, 2010 1:56:58 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=53111, AD_Reference_ID=28,Updated=TO_DATE('2010-03-04 13:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55703
;
-- Mar 4, 2010 1:57:00 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Build MODIFY Processing CHAR(1) DEFAULT NULL
;
-- Mar 4, 2010 1:57:15 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_DATE('2010-03-04 13:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55700
;
-- Mar 4, 2010 1:57:19 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Build MODIFY Processed CHAR(1) DEFAULT 'N'
;
-- Mar 4, 2010 1:58:11 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59065,524,0,53123,28,53125,'Processing',TO_DATE('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','Y','N','N','Y','N','Y','Process Now',TO_DATE('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 4, 2010 1:58:11 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59065 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 4, 2010 1:58:36 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2010-03-04 13:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59065
;
-- Mar 4, 2010 1:58:38 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Convention ADD Processing CHAR(1) DEFAULT NULL
;
-- Mar 4, 2010 1:58:51 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_DATE('2010-03-04 13:58:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55736
;
-- Mar 4, 2010 1:58:54 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Convention MODIFY Processed CHAR(1) DEFAULT 'N'
;
-- Mar 4, 2010 1:58:54 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation_Convention SET Processed='N' WHERE Processed IS NULL
;
-- Mar 4, 2010 1:59:46 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_DATE('2010-03-04 13:59:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55747
;
-- Mar 4, 2010 1:59:49 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Method MODIFY Processed CHAR(1) DEFAULT 'Y'
;
-- Mar 4, 2010 1:59:49 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation_Method SET Processed='Y' WHERE Processed IS NULL
;

View File

@ -1,311 +0,0 @@
-- Mar 8, 2010 4:20:41 PM CET
-- Import of Order Source
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59066,53942,0,19,591,'C_OrderSource_ID',TO_DATE('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','N','N','N','N','N','N','Y','Order Source',0,TO_DATE('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 4:20:41 PM CET
-- Import of Order Source
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59066 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 8, 2010 4:20:44 PM CET
-- Import of Order Source
ALTER TABLE I_Order ADD C_OrderSource_ID NUMBER(10) DEFAULT NULL
;
-- Mar 8, 2010 4:23:40 PM CET
-- Import of Order Source
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54129,0,'C_OrderSourceValue',TO_DATE('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Order Source Key','Order Source Key',TO_DATE('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 4:23:40 PM CET
-- Import of Order Source
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54129 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Mar 8, 2010 4:27:20 PM CET
-- Import of Order Source
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59068,54129,0,10,591,'C_OrderSourceValue',TO_DATE('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Order Source Key',0,TO_DATE('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 4:27:20 PM CET
-- Import of Order Source
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59068 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 8, 2010 4:27:27 PM CET
-- Import of Order Source
ALTER TABLE I_Order ADD C_OrderSourceValue NVARCHAR2(40) DEFAULT NULL
;
-- Mar 8, 2010 4:32:35 PM CET
-- Import of Order Source
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59068,58779,0,512,TO_DATE('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source Key',590,0,TO_DATE('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 4:32:35 PM CET
-- Import of Order Source
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58779 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 8, 2010 4:33:50 PM CET
-- Import of Order Source
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59066,58780,0,512,TO_DATE('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source',600,0,TO_DATE('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 4:33:50 PM CET
-- Import of Order Source
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58780 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 8, 2010 4:33:58 PM CET
-- Import of Order Source
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-03-08 16:33:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58780
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7347
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7334
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=7328
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=7319
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=7323
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=7324
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=7337
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=7315
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=7355
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=7356
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=7338
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=7322
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=7359
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=7336
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=7318
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=7330
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=7339
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=7325
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=7341
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7346
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7345
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7331
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7317
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7360
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7354
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=7340
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=7645
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=7332
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=7353
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=7361
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=7358
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=7350
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=7640
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=7644
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=7641
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=7326
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=7642
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=7643
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=7343
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=8262
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=8263
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7329
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=7357
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56402
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56403
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=58779
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=58780
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=7327
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=7335
;

View File

@ -1,413 +0,0 @@
-- Mar 8, 2010 8:44:44 PM COT
-- FR2962094_Finish implementation of weighted average costing
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54132,0,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Average Cost Variance','Average Cost Variance',TO_DATE('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:44:44 PM COT
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54132 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Mar 8, 2010 8:46:06 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59071,54132,0,25,315,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_DATE('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 8:46:06 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59071 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 8, 2010 8:46:19 PM COT
ALTER TABLE C_AcctSchema_Default ADD P_AverageCostVariance_Acct NUMBER(10) DEFAULT NULL
;
-- Mar 8, 2010 8:46:45 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59072,54132,0,25,401,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_DATE('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 8:46:45 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59072 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 8, 2010 8:46:50 PM COT
ALTER TABLE M_Product_Category_Acct ADD P_AverageCostVariance_Acct NUMBER(10) DEFAULT NULL
;
-- Mar 8, 2010 8:47:12 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59073,54132,0,25,273,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_DATE('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 8:47:12 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59073 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 8, 2010 8:47:17 PM COT
ALTER TABLE M_Product_Acct ADD P_AverageCostVariance_Acct NUMBER(10) DEFAULT NULL
;
-- Mar 8, 2010 8:49:30 PM COT
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59071,106,58783,0,252,TO_DATE('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',770,0,TO_DATE('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:49:30 PM COT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58783 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 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=58783
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4861
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=4862
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2663
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=4863
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=2662
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=3824
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2654
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=3835
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56529
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56522
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=56524
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=56528
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=56527
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56525
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56523
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=56520
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=56521
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=56526
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=56550
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=56551
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=3842
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=3841
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=3846
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=5133
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=530,IsDisplayed='Y' WHERE AD_Field_ID=5132
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=540,IsDisplayed='Y' WHERE AD_Field_ID=3843
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=550,IsDisplayed='Y' WHERE AD_Field_ID=3845
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=560,IsDisplayed='Y' WHERE AD_Field_ID=3844
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=3849
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=3850
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=5138
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=3847
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=610,IsDisplayed='Y' WHERE AD_Field_ID=3839
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=620,IsDisplayed='Y' WHERE AD_Field_ID=3837
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=630,IsDisplayed='Y' WHERE AD_Field_ID=3840
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=640,IsDisplayed='Y' WHERE AD_Field_ID=3838
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=650,IsDisplayed='Y' WHERE AD_Field_ID=3836
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=660,IsDisplayed='Y' WHERE AD_Field_ID=3851
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=670,IsDisplayed='Y' WHERE AD_Field_ID=3852
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=680,IsDisplayed='Y' WHERE AD_Field_ID=3830
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=690,IsDisplayed='Y' WHERE AD_Field_ID=3831
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=700,IsDisplayed='Y' WHERE AD_Field_ID=3832
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=710,IsDisplayed='Y' WHERE AD_Field_ID=3833
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=720,IsDisplayed='Y' WHERE AD_Field_ID=4092
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=730,IsDisplayed='Y' WHERE AD_Field_ID=4093
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=740,IsDisplayed='Y' WHERE AD_Field_ID=5134
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=750,IsDisplayed='Y' WHERE AD_Field_ID=4094
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=760,IsDisplayed='Y' WHERE AD_Field_ID=4095
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=770,IsDisplayed='Y' WHERE AD_Field_ID=3823
;
-- Mar 8, 2010 8:50:56 PM COT
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59072,58784,0,324,TO_DATE('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',310,0,TO_DATE('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:50:56 PM COT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58784 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 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=58784
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=4872
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=4873
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=3944
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56539
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56532
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56534
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56538
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56537
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56535
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56533
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56530
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56531
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56536
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56552
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56553
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=3945
;
-- Mar 8, 2010 8:51:50 PM COT
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59073,58785,0,210,TO_DATE('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',280,0,TO_DATE('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:51:50 PM COT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58785 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 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=58785
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4868
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4869
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=2608
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56549
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56542
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56544
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56548
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56547
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56545
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56543
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56540
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56541
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56546
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56554
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56555
;
-- Mar 8, 2010 9:03:21 PM COT
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-03-08 21:03:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58783
;
-- Mar 8, 2010 9:03:44 PM COT
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-03-08 21:03:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58784
;
-- Mar 8, 2010 9:04:06 PM COT
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-03-08 21:04:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58785
;

View File

@ -1,56 +0,0 @@
-- Mar 8, 2010 8:56:27 PM COT
-- FR2962094_Finish implementation of weighted average costing
INSERT INTO C_ElementValue (AccountSign,AccountType,AD_Client_ID,AD_Org_ID,C_Element_ID,C_ElementValue_ID,Created,CreatedBy,Description,IsActive,IsBankAccount,IsDocControlled,IsForeignCurrency,IsSummary,Name,PostActual,PostBudget,PostEncumbrance,PostStatistical,Updated,UpdatedBy,Value) VALUES ('N','E',11,0,105,50017,TO_DATE('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'Account for Average Cost Variance','Y','N','Y','N','N','Average Cost Variance','Y','Y','Y','Y',TO_DATE('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'58800')
;
-- Mar 8, 2010 8:56:27 PM COT
INSERT INTO C_ElementValue_Trl (AD_Language,C_ElementValue_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_ElementValue_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, C_ElementValue t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_ElementValue_ID=50017 AND NOT EXISTS (SELECT * FROM C_ElementValue_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_ElementValue_ID=t.C_ElementValue_ID)
;
-- Mar 8, 2010 8:56:27 PM COT
INSERT INTO AD_TreeNode (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID, 0, 'Y', SysDate, 100, SysDate, 100,t.AD_Tree_ID, 50017, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=11 AND t.IsActive='Y' AND EXISTS (SELECT * FROM C_Element ae WHERE ae.C_Element_ID=105 AND t.AD_Tree_ID=ae.AD_Tree_ID) AND NOT EXISTS (SELECT * FROM AD_TreeNode e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=50017)
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=444
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=445
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=635
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50001
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50002
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50003
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50004
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50017
;
-- Mar 8, 2010 8:58:19 PM COT
INSERT INTO C_ValidCombination (Account_ID,AD_Client_ID,AD_Org_ID,C_AcctSchema_ID,Combination,Created,CreatedBy,C_ValidCombination_ID,Description,IsActive,IsFullyQualified,Updated,UpdatedBy) VALUES (50017,11,11,101,'HQ-58800-_-_-_-_',TO_DATE('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100,50013,'HQ-Average Cost Variance-_-_-_-_','Y','Y',TO_DATE('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:58:32 PM COT
UPDATE C_AcctSchema_Default SET P_AverageCostVariance_Acct=50013,Updated=TO_DATE('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
;
UPDATE M_Product_Category_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_DATE('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;
UPDATE M_Product_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_DATE('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;

View File

@ -1 +0,0 @@
UPDATE AD_ReportView SET WHERECLAUSE = 'DocStatus IN (''CO'',''CL'') AND IsAllocated=''N''' where ad_reportview_id=155;

View File

@ -1,9 +0,0 @@
--
-- BF [ 1774758 ] No default Sales Representant in request window
--
UPDATE AD_COLUMN
SET DefaultValue = '@#AD_User_ID@'
WHERE DefaultValue = '@AD_User_ID@' AND AD_Column_ID = 5432;
COMMIT;

View File

@ -1,8 +0,0 @@
-- Mar 11, 2010 3:09:41 PM COT
UPDATE M_Product SET DescriptionURL='http://www.adempiere.com/index.php/SampleProductDescriptionForDocumentation', ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_DATE('2010-03-11 15:09:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=146
;
-- Mar 11, 2010 3:09:58 PM COT
UPDATE M_Product SET ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_DATE('2010-03-11 15:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=126
;

View File

@ -1,82 +0,0 @@
-- Mar 13, 2010 5:43:23 PM COT
-- BF2970013_Process Para uniqueness required
UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2010-03-13 17:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=131
;
-- Mar 13, 2010 5:43:25 PM COT
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2010-03-13 17:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=244
;
-- Mar 13, 2010 5:43:27 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53074
;
-- Mar 13, 2010 5:43:33 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53073
;
-- Mar 13, 2010 5:43:58 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:43:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=471
;
-- Mar 13, 2010 5:44:32 PM COT
UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
;
-- Mar 13, 2010 5:45:12 PM COT
UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
;
-- Mar 13, 2010 5:45:56 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:45:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=397
;
-- Mar 13, 2010 5:46:18 PM COT
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2010-03-13 17:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=588
;
-- Mar 13, 2010 5:46:20 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=585
;
-- Mar 13, 2010 5:46:22 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53153
;
-- Mar 13, 2010 5:46:23 PM COT
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2010-03-13 17:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53154
;
-- Mar 13, 2010 5:46:25 PM COT
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2010-03-13 17:46:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=586
;
-- Mar 13, 2010 5:46:27 PM COT
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2010-03-13 17:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=587
;
-- Mar 13, 2010 5:46:55 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53066
;
-- Mar 13, 2010 5:46:56 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53067
;
-- Mar 13, 2010 5:47:22 PM COT
UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
;
-- Mar 13, 2010 5:47:43 PM COT
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2010-03-13 17:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
;
-- Mar 13, 2010 5:47:46 PM COT
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2010-03-13 17:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53280
;
-- Mar 13, 2010 5:47:50 PM COT
UPDATE AD_Process_Para SET EntityType='EE01',Updated=TO_DATE('2010-03-13 17:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
;
create unique index ad_procpara_procseqno on ad_process_para (ad_process_id, seqno);

View File

@ -1,146 +0,0 @@
-- Mar 13, 2010 11:54:49 PM COT
-- BF_2968442_Post without Application Server
UPDATE AD_Element SET Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.', Name='Post Immediately (Deprecated)',Updated=TO_DATE('2010-03-13 23:54:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2843
;
-- Mar 13, 2010 11:54:49 PM COT
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2843
;
-- Mar 13, 2010 11:54:49 PM COT
UPDATE AD_Column SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.', AD_Element_ID=2843 WHERE UPPER(ColumnName)='ISPOSTIMMEDIATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843 AND IsCentrallyMaintained='Y'
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_Field SET Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=2843) AND IsCentrallyMaintained='Y'
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_PrintFormatItem pi SET PrintName='Post Immediate', Name='Post Immediately (Deprecated)' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=2843)
;
-- Mar 13, 2010 11:55:40 PM COT
UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-03-13 23:55:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12326
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=12327
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=317
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=318
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=319
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10318
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=5160
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5759
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=11025
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=11205
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=3813
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5887
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=5161
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=5162
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5163
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5164
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12099
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12098
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=11024
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=12326
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=50158
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=50159
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=50160
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=50184
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=50185
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=50186
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54238
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54680
;

View File

@ -1,411 +0,0 @@
-- 02/10/2009 11:33:15 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53327,TO_TIMESTAMP('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Period Type',TO_TIMESTAMP('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- 02/10/2009 11:33:15 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53327 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- 02/10/2009 11:33:29 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53536,TO_TIMESTAMP('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Total',TO_TIMESTAMP('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- 02/10/2009 11:33:29 AM
-- Add signed amount type to fin report
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) 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 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=53536 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:33:38 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53537,TO_TIMESTAMP('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Year',TO_TIMESTAMP('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'Y')
;
-- 02/10/2009 11:33:38 AM
-- Add signed amount type to fin report
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) 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 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=53537 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:33:51 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53538,TO_TIMESTAMP('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Period',TO_TIMESTAMP('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'P')
;
-- 02/10/2009 11:33:51 AM
-- Add signed amount type to fin report
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) 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 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=53538 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:40:15 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53540,TO_TIMESTAMP('2009-10-02 11:40:14','YYYY-MM-DD HH24:MI:SS'),100,'Year for P & L account, Total for Balance Sheet account','D','Y','Natural',TO_TIMESTAMP('2009-10-02 11:40:14','YYYY-MM-DD HH24:MI:SS'),100,'N')
;
-- 02/10/2009 11:40:15 AM
-- Add signed amount type to fin report
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) 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 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=53540 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:42:57 AM
-- Add signed amount type to fin report
UPDATE AD_Reference SET IsActive='N', Name='PA_Report AmountType (deprecated)',Updated=TO_TIMESTAMP('2009-10-02 11:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=235
;
-- 02/10/2009 11:42:57 AM
-- Add signed amount type to fin report
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=235
;
-- 02/10/2009 11:43:16 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53328,TO_TIMESTAMP('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Amount Type',TO_TIMESTAMP('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- 02/10/2009 11:43:16 AM
-- Add signed amount type to fin report
INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53328 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- 02/10/2009 11:44:10 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53541,TO_TIMESTAMP('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Balance (expected sign)',TO_TIMESTAMP('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'B')
;
-- 02/10/2009 11:44:10 AM
-- Add signed amount type to fin report
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) 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 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=53541 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:44:32 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53542,TO_TIMESTAMP('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Credit Only',TO_TIMESTAMP('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'C')
;
-- 02/10/2009 11:44:32 AM
-- Add signed amount type to fin report
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) 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 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=53542 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:44:42 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53543,TO_TIMESTAMP('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Debit Only',TO_TIMESTAMP('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D')
;
-- 02/10/2009 11:44:42 AM
-- Add signed amount type to fin report
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) 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 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=53543 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:45:01 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53544,TO_TIMESTAMP('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity',TO_TIMESTAMP('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'Q')
;
-- 02/10/2009 11:45:01 AM
-- Add signed amount type to fin report
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) 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 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=53544 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:48:32 AM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53545,TO_TIMESTAMP('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'DR - CR','D','Y','Balance (accounted sign)',TO_TIMESTAMP('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- 02/10/2009 11:48:32 AM
-- Add signed amount type to fin report
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) 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 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=53545 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 11:52:38 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54061,0,'PAPeriodType',TO_TIMESTAMP('2009-10-02 11:52:35','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D','The Period Type to report on: Period, Year, Total or Natural; where Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Period Type','Period Type',TO_TIMESTAMP('2009-10-02 11:52:35','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 11:52:38 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54061 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 02/10/2009 11:56:47 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54062,0,'PAAmountType',TO_TIMESTAMP('2009-10-02 11:56:46','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (DR-CR). Balance (expected sign) adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element.','Y','Amount Type','Amount Type',TO_TIMESTAMP('2009-10-02 11:56:46','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 11:56:47 AM
-- Add signed amount type to fin report
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54062 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Element SET Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.',Updated=TO_TIMESTAMP('2009-10-02 11:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54061
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54061
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Column SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Element_ID=54061
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.', AD_Element_ID=54061 WHERE UPPER(ColumnName)='PAPERIODTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Element_ID=54061 AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 11:56:58 AM
-- Add signed amount type to fin report
UPDATE AD_Field SET Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54061) AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 11:58:09 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58553,54061,0,17,53327,446,'PAPeriodType',TO_TIMESTAMP('2009-10-02 11:58:08','YYYY-MM-DD HH24:MI:SS'),100,'P','PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_TIMESTAMP('2009-10-02 11:58:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 11:58:09 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58553 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 11:58:17 AM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportColumn ADD COLUMN PAPeriodType CHAR(1) DEFAULT 'P'
;
-- 02/10/2009 11:59:04 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58554,54062,0,17,53328,446,'PAAmountType',TO_TIMESTAMP('2009-10-02 11:59:03','YYYY-MM-DD HH24:MI:SS'),100,'B','PA Amount Type for reporting','D',1,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (DR-CR). Balance (expected sign) adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_TIMESTAMP('2009-10-02 11:59:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 11:59:04 AM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58554 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Element SET Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.',Updated=TO_TIMESTAMP('2009-10-02 12:01:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54062
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54062
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Element_ID=54062
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.', AD_Element_ID=54062 WHERE UPPER(ColumnName)='PAAMOUNTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Process_Para SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Element_ID=54062 AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 12:01:36 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54062) AND IsCentrallyMaintained='Y'
;
-- 02/10/2009 12:03:11 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58555,54062,0,17,53328,448,'PAAmountType',TO_TIMESTAMP('2009-10-02 12:03:10','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D',2,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_TIMESTAMP('2009-10-02 12:03:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 12:03:11 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58555 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:03:20 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET FieldLength=1,Updated=TO_TIMESTAMP('2009-10-02 12:03:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=58555
;
-- 02/10/2009 12:03:23 PM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportLine ADD COLUMN PAAmountType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:03:48 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58556,54061,0,17,53327,448,'PAPeriodType',TO_TIMESTAMP('2009-10-02 12:03:47','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_TIMESTAMP('2009-10-02 12:03:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- 02/10/2009 12:03:48 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58556 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:03:50 PM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportLine ADD COLUMN PAPeriodType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:04:03 PM
-- Add signed amount type to fin report
ALTER TABLE PA_ReportColumn ADD COLUMN PAAmountType CHAR(1) DEFAULT 'B'
;
-- 02/10/2009 12:04:29 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:04:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6019
;
-- 02/10/2009 12:04:39 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:04:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7707
;
-- 02/10/2009 12:09:57 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58554,58041,0,374,TO_TIMESTAMP('2009-10-02 12:09:56','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',110,TO_TIMESTAMP('2009-10-02 12:09:56','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:09:57 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58041 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:11:17 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58553,58042,0,374,TO_TIMESTAMP('2009-10-02 12:11:16','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','Y','Period Type',115,TO_TIMESTAMP('2009-10-02 12:11:16','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:11:17 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58042 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:11:26 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:11:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4760
;
-- 02/10/2009 12:13:14 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58555,58043,0,376,TO_TIMESTAMP('2009-10-02 12:13:13','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'@LineType@=S','D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',180,TO_TIMESTAMP('2009-10-02 12:13:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:13:14 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58043 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:13:46 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58556,58044,0,376,TO_TIMESTAMP('2009-10-02 12:13:45','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'@LineType@=S','D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','Y','Period Type',185,TO_TIMESTAMP('2009-10-02 12:13:45','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:13:46 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58044 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:13:57 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:13:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5807
;
-- 02/10/2009 12:16:06 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58557,54062,0,17,53328,535,'PAAmountType',TO_TIMESTAMP('2009-10-02 12:16:05','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D',1,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_TIMESTAMP('2009-10-02 12:16:05','YYYY-MM-DD HH24:MI:SS'),100,1)
;
-- 02/10/2009 12:16:06 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58557 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:16:10 PM
-- Add signed amount type to fin report
ALTER TABLE I_ReportLine ADD COLUMN PAAmountType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:16:40 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58558,54061,0,17,53327,535,'PAPeriodType',TO_TIMESTAMP('2009-10-02 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_TIMESTAMP('2009-10-02 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,1)
;
-- 02/10/2009 12:16:40 PM
-- Add signed amount type to fin report
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=58558 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- 02/10/2009 12:16:43 PM
-- Add signed amount type to fin report
ALTER TABLE I_ReportLine ADD COLUMN PAPeriodType CHAR(1) DEFAULT NULL
;
-- 02/10/2009 12:16:52 PM
-- Add signed amount type to fin report
UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7954
;
-- 02/10/2009 12:18:35 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58557,58045,0,444,TO_TIMESTAMP('2009-10-02 12:18:35','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',160,TO_TIMESTAMP('2009-10-02 12:18:35','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:18:35 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58045 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:18:56 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58558,58046,0,444,TO_TIMESTAMP('2009-10-02 12:18:55','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','N','Period Type',165,TO_TIMESTAMP('2009-10-02 12:18:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- 02/10/2009 12:18:56 PM
-- Add signed amount type to fin report
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58046 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- 02/10/2009 12:19:04 PM
-- Add signed amount type to fin report
UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6043
;
-- 02/10/2009 1:48:32 PM
-- Add signed amount type to fin report
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53546,TO_TIMESTAMP('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity (accounted sign)',TO_TIMESTAMP('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'R')
;
-- 02/10/2009 1:48:32 PM
-- Add signed amount type to fin report
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) 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 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=53546 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- 02/10/2009 1:48:43 PM
-- Add signed amount type to fin report
UPDATE AD_Ref_List SET Name='Quantity (expected sign)',Updated=TO_TIMESTAMP('2009-10-02 13:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53544
;
-- 02/10/2009 1:48:43 PM
-- Add signed amount type to fin report
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53544
;
update pa_reportline set paamounttype = substr(amounttype, 1,1), paperiodtype = substr(amounttype,2,1);
update pa_reportcolumn set paamounttype = substr(amounttype, 1,1), paperiodtype = substr(amounttype,2,1);

View File

@ -1,28 +0,0 @@
--- BF 2944056 https://sourceforge.net/tracker/?func=detail&aid=2944056&group_id=176962&atid=879332
--- Fix Related and Substitute Inventory Quantity in the InfoProduct window
DROP VIEW M_PRODUCT_SUBSTITUTERELATED_V;
CREATE OR REPLACE VIEW M_PRODUCT_SUBSTITUTERELATED_V AS
SELECT s.ad_client_id, s.ad_org_id, s.isactive, s.created, s.createdby, s.updated, s.updatedby,
s.m_product_id, s.substitute_id, 'S' AS rowtype, mp.name, sum(ms.qtyonhand - ms.qtyreserved) AS qtyavailable, sum(ms.qtyonhand) AS qtyonhand, sum(ms.qtyreserved) AS qtyreserved,
ROUND(MAX(mpr.pricestd),0) AS pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id, org.name AS orgname
FROM m_substitute s
JOIN m_storage ms ON ms.m_product_id = s.substitute_id
JOIN m_product mp ON ms.m_product_id = mp.m_product_id
JOIN m_locator ml ON ms.m_locator_id = ml.m_locator_id
JOIN m_warehouse mw ON ml.m_warehouse_id = mw.m_warehouse_id
JOIN m_productprice mpr ON ms.m_product_id = mpr.m_product_id
JOIN ad_org org ON org.ad_org_id = mw.ad_org_id
GROUP BY s.ad_client_id, s.ad_org_id, s.isactive, s.created, s.createdby, s.updated, s.updatedby, s.m_product_id, s.substitute_id, mw.m_warehouse_id, mpr.m_pricelist_version_id, org.name, mp.name
UNION
SELECT r.ad_client_id, r.ad_org_id, r.isactive, r.created, r.createdby, r.updated, r.updatedby,
r.m_product_id, r.relatedproduct_id AS substitute_id, 'R' AS rowtype, mp.name, sum(ms.qtyonhand - ms.qtyreserved) AS qtyavailable, sum(ms.qtyonhand) AS qtyonhand, sum(ms.qtyreserved) AS qtyreserved, round(MAX(mpr.pricestd),0) AS pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id, org.name AS orgname
FROM m_relatedproduct r
JOIN m_storage ms ON ms.m_product_id = r.relatedproduct_id
JOIN m_product mp ON ms.m_product_id = mp.m_product_id
JOIN m_locator ml ON ms.m_locator_id = ml.m_locator_id
JOIN m_warehouse mw ON ml.m_warehouse_id = mw.m_warehouse_id
JOIN m_productprice mpr ON ms.m_product_id = mpr.m_product_id
JOIN ad_org org ON org.ad_org_id = mw.ad_org_id
GROUP BY r.ad_client_id, r.ad_org_id, r.isactive, r.created, r.createdby, r.updated, r.updatedby, r.m_product_id, r.relatedproduct_id, mw.m_warehouse_id, mpr.m_pricelist_version_id, org.name, mp.name;

View File

@ -1,30 +0,0 @@
-- Feb 8, 2010 3:00:56 PM EST
-- Advanced search
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53092,0,TO_TIMESTAMP('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','And/Or','I',TO_TIMESTAMP('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'And/Or')
;
-- Feb 8, 2010 3:00:57 PM EST
-- Advanced search
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=53092 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)
;
-- Feb 8, 2010 3:01:21 PM EST
-- Advanced search
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53093,0,TO_TIMESTAMP('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','AND','I',TO_TIMESTAMP('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'AND')
;
-- Feb 8, 2010 3:01:21 PM EST
-- Advanced search
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=53093 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)
;
-- Feb 8, 2010 3:01:42 PM EST
-- Advanced search
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53094,0,TO_TIMESTAMP('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','OR','I',TO_TIMESTAMP('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'OR')
;
-- Feb 8, 2010 3:01:42 PM EST
-- Advanced search
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=53094 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)
;

View File

@ -1,5 +0,0 @@
-- Feb 8, 2010 4:05:08 PM EST
-- BF2944388
UPDATE AD_Column SET IsIdentifier='Y', SeqNo=1,Updated=TO_TIMESTAMP('2010-02-08 16:05:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57563
;

View File

@ -1,35 +0,0 @@
-- Feb 11, 2010 3:41:40 PM EST
-- Reset Allocation
INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('2',0,0,53199,'org.compiere.process.AllocationReset',TO_TIMESTAMP('2010-02-11 15:41:38','YYYY-MM-DD HH24:MI:SS'),100,'Reset (delete) allocation of invoices to payments','D','Delete individual allocation. In contrast to "Reverse", the allocation is deleted (no trace), if the period is open.','Y','N','N','N','N','Reset Allocation Direct','Y',0,0,TO_TIMESTAMP('2010-02-11 15:41:38','YYYY-MM-DD HH24:MI:SS'),100,'C_Allocation_Reset_Direct')
;
-- Feb 11, 2010 3:41:40 PM EST
-- Reset Allocation
INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53199 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID)
;
-- Feb 11, 2010 3:43:37 PM EST
-- Reset Allocation
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=10431
;
-- Feb 11, 2010 3:44:45 PM EST
-- Reset Allocation
UPDATE AD_Column SET AD_Process_ID=53199, AD_Reference_ID=28,Updated=TO_TIMESTAMP('2010-02-11 15:44:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12314
;
-- Feb 11, 2010 3:44:49 PM EST
-- Reset Allocation
UPDATE AD_Field SET Description='Reset (delete) allocation of invoices to payments', Name='Reset Allocation',Updated=TO_TIMESTAMP('2010-02-11 15:44:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10431
;
-- Feb 11, 2010 3:44:49 PM EST
-- Reset Allocation
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10431
;
-- Feb 11, 2010 3:50:09 PM EST
-- Reset Allocation
UPDATE AD_Column SET IsAlwaysUpdateable='Y',Updated=TO_TIMESTAMP('2010-02-11 15:50:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12314
;

View File

@ -1,260 +0,0 @@
UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting and security access (via role)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=134;
UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID IN (131,135,136,137,2514,2515);
UPDATE AD_ELEMENT SET HELP='A Callout allow you to create Java extensions to perform certain tasks always after a value changed. Callouts should not be used for validation but consequences of a user selecting a certain value.
The callout is a Java class implementing org.compiere.model.Callout and a method name to call. Example: "org.compiere.model.CalloutRequest.copyText" instantiates the class "CalloutRequest" and calls the method "copyText". You can have multiple callouts by separating them via a semicolon', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=224;
UPDATE AD_ELEMENT SET HELP='The Costing Method indicates how costs will be calculated (Standard, Average, Lifo, FiFo). The default costing method is defined on accounting schema level and can be optionally overwritten in the product category. The costing method cannot conflict with the Material Movement Policy (defined on Product Category).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=241;
UPDATE AD_ELEMENT SET NAME='Records deletable',PRINTNAME='Records deletable', HELP='The Records Deletable checkbox indicates if a record can be deleted from the database. If records cannot be deleted, you can only deselect the Active flag', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=366;
UPDATE AD_ELEMENT SET HELP='The Sales Rep checkbox indicates if this business partner is a sales representative. A sales representative may also be an employee, but does not need to be.'
, PO_HELP='The Sales Rep checkbox indicates if this business partner is a company agent. A company agent may also be an employee, but does not need to be.'
, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=409;
UPDATE AD_ELEMENT SET NAME='Updatable',PRINTNAME='Updatable', HELP='The Updatable checkbox indicates if a field can be updated by the user.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=422;
UPDATE AD_ELEMENT SET NAME='User updatable',PRINTNAME='User updatable', HELP='The User Updatable checkbox indicate if the user can update this field.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=423;
UPDATE AD_ELEMENT SET HELP='The Credit Limit indicates the total amount allowed "on account" in primary accounting currency. If the Credit Limit is 0, no check is performed. Credit Management is based on the Total Open Amount, which includes Vendor activities.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=553;
UPDATE AD_ELEMENT SET HELP='The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you close an order, unshipped (backordered) quantities are cancelled.'
, PO_HELP='The Purchase Order is a control document. The Purchase Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you close an order, unshipped (backordered) quantities are cancelled.'
, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=558;
UPDATE AD_ELEMENT SET HELP='The Enforce Price Limit check box indicates that prices cannot be below the limit price in Orders and Invoices. This can be overwritten, if the role allows this.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=882;
UPDATE AD_ELEMENT SET HELP='The SO Sub Type indicates the type of sales order this document refers to. This field only appears when the Document Base Type is Sales Order. The selection made here will determine which documents will be generated when an order is processed and which documents must be generated manually or in batches. <br>
The following outlines this process.<br>
SO Sub Type of <b>Standard Order</b> will generate just the <b>Order</b> document when the order is processed. <br>
The <b>Delivery Note</b>, <b>Invoice</b> and <b>Receipt</b> must be generated via other processes. <br>
SO Sub Type of <b>Warehouse Order</b> will generate the <b>Order</b> and <b>Delivery Note</b>. <br> The <b>Invoice</b> and <b>Receipt</b> must be generated via other processes.<br>
SO Sub Type of <b>Credit Order</b> will generate the <b>Order</b>, <b>Delivery Note</b> and <b>Invoice</b>. <br> The <b>Receipt</b> must be generated via other processes.<br>
SO Sub Type of <b>POS</b> (Point of Sale) will generate all document', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1018;
UPDATE AD_ELEMENT SET DESCRIPTION='Account for Vendor Service Liability', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1057;
UPDATE AD_ELEMENT SET HELP='The Days After Due Date indicates the number of days after the payment due date to initiate dunning. If the number is negative, it includes not the not due invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1092;
UPDATE AD_ELEMENT SET HELP='The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (100 = highest priority, 0 = lowest). For outgoing shipments, the location is picked with the highest priority where the entire quantity can be shipped from. If there is no location, the location with the highest priority is used.
The Priority is ignored for products with Guarantee Date (always the oldest first) or if a specific instance is selected.
Incoming receipts are stored at the location with the highest priority, if not explicitly selected.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1145;
UPDATE AD_ELEMENT SET HELP='When processing a web order, a confirmation is sent to the EMail address of the customer from the request EMail address copying this email address when entered.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=1993;
UPDATE AD_ELEMENT SET HELP='Web Click Details', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2007;
UPDATE AD_ELEMENT SET HELP='Attributes are specific to a Product Attribute Set (e.g. Size for T-Shirts: S,M,L). If you have multiple attributes and want to search under a common attribute, you define a search attribute. Example: have one Size search attribute combining the values of all different sizes (Size for Dress Shirt XL,L,M,S,XS). The Attribute Search allows you to have all values available for selection. This eases the maintenance of the individual product attribute.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2025;
UPDATE AD_ELEMENT SET DESCRIPTION='Included Tab in this Tab (Master Detail)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2026;
UPDATE AD_ELEMENT SET HELP='Internal (Operating System) Name of the Printer; Please mote that the printer name may be different on different clients. Enter a printer name, which applies to ALL clients (e.g. printer on a server). <p>
If none is entered, the default printer is used. You specify your default printer when you log in. You can also change the default printer in Preferences.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2051;
UPDATE AD_ELEMENT SET DESCRIPTION='Assignment to (transaction) Organization', HELP='Assignment to the transaction organization (cost center).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2072;
UPDATE AD_ELEMENT SET HELP='"You can purchase professional support from Adempiere, Inc. or their partners. See http://www.adempiere.com for details.
"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2124;
UPDATE AD_ELEMENT SET HELP='The Type of data Replication determines the direction of the data replication. <br>
Reference means that the data in this system is read only -> <br>
Local means that the data in this system is not replicated to other systems - <br>
Merge means that the data in this system is synchronized with the other system <-> <br>', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2137;
UPDATE AD_ELEMENT SET HELP='If selected, public users can read/view the entry. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2139;
UPDATE AD_ELEMENT SET HELP='If selected, public users can write/create entries. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2140;
UPDATE AD_ELEMENT SET HELP='Set up knowledge categories and values as a search aid. Examples are Release Version, Product Area, etc. Knowledge Category values act like keywords.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2141;
UPDATE AD_ELEMENT SET DESCRIPTION='Related Entry for this Entry'
, HELP='Related Knowledge Entry for this Knowledge Entry'
, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2145;
UPDATE AD_ELEMENT SET HELP='The Source of a Knowledge Entry is a pointer to the originating system. The Knowledge Entry has an additional entry (Description URL) for more detailed info.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2146;
UPDATE AD_ELEMENT SET DESCRIPTION='Knowledge Keyword Synonym', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2147;
UPDATE AD_ELEMENT SET HELP='Topic or Discussion Thead', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2148;
UPDATE AD_ELEMENT SET NAME='Knowledge Type', HELP='Area of knowledge - A Type has multiple Topics', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2149;
UPDATE AD_ELEMENT SET DESCRIPTION='Name of the Project Cycle Step', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2165;
UPDATE AD_ELEMENT SET DESCRIPTION='Minimum Amount in Document Currency', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2177;
UPDATE AD_ELEMENT SET DESCRIPTION='Minimum number of guarantee days', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2197;
UPDATE AD_ELEMENT SET HELP='If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document. This for including descriptive detail lines, e.g. for an Work Order.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2183;
UPDATE AD_ELEMENT SET HELP='This allows to have the three general situations of "not open" - "open" - "closed"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2201;
UPDATE AD_ELEMENT SET NAME='Calculate Maximum (?)', DESCRIPTION='Calculate the maximum amount', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2207;
UPDATE AD_ELEMENT SET HELP='A running total creates a sum at the end of a page and on the top of the next page for all columns, which have a Sum function. You should define running total only once per format.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2212;
UPDATE AD_ELEMENT SET DESCRIPTION='Electronic Funds Transfer Payee Account Information', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2233;
UPDATE AD_ELEMENT SET DESCRIPTION='Shelf Life Days remaining to Guarantee Date (minus minimum guarantee days)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2237;
UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2240;
UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2264;
UPDATE AD_ELEMENT SET DESCRIPTION='If selected, the product is displayed in the initial or any empty search'
, HELP='In the display of products in the Web Store, the product is displayed in the initial view or if no search criteria are entered. To be displayed, the product must be in the price list used.'
, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2277;
UPDATE AD_ELEMENT SET HELP='The loader definition provides the parameters to load bank statements from EFT formats like SWIFT (MT940) or OFX', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2283;
UPDATE AD_ELEMENT SET DESCRIPTION='Date format used in the input format', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2286;
UPDATE AD_ELEMENT SET HELP='Activity Result of the execution of the Workflow Process Instance', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2308;
UPDATE AD_ELEMENT SET HELP='History of changes of the Workflow Process Activity', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2310;
UPDATE AD_ELEMENT SET HELP='Semantics for multiple outgoing Transitions for a Node/Activity. AND represents multiple concurrent threads - XOR represents the first transition with a true Transition condition.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2337;
UPDATE AD_ELEMENT SET HELP='You can create a bid for a topic. Depending on the type, the highest bidder wins the Topic - or you participate in funding for a Topic.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2360;
UPDATE AD_ELEMENT SET HELP='Available Funds (from Payments) and Committed or Uncommitted funds for Bids', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2362;
UPDATE AD_ELEMENT SET HELP='Available Funds (for Payments) and Committed or Uncommitted funds from Offers', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2364;
UPDATE AD_ELEMENT SET DESCRIPTION='An Error occurred in the execution', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2395;
UPDATE AD_ELEMENT SET DESCRIPTION='The response can have just the total amount for the RfQ', HELP='If not selected, the response must be provided per line', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2403;
UPDATE AD_ELEMENT SET DESCRIPTION='Are Responses to the Request for Quotation accepted', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2404;
UPDATE AD_ELEMENT SET DESCRIPTION='The response is the selected winner', HELP='The response is the selected winner. If selected on Response level, the line selections are ignored.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2405;
UPDATE AD_ELEMENT SET DESCRIPTION='Product used to determine the price of the membership for the topic type', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2415;
UPDATE AD_ELEMENT SET HELP='Consecutive range to', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2455;
UPDATE AD_ELEMENT SET HELP='Define the method how the next occurrence is calculated', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2457;
UPDATE AD_ELEMENT SET HELP='If selected and if the window / tab is not read only, you can always update the column. This might be useful for comments, etc.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2468;
UPDATE AD_ELEMENT SET DESCRIPTION='Elapsed Time in milli seconds', HELP='Elapsed Time in milli seconds', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2474;
UPDATE AD_ELEMENT SET DESCRIPTION='Distribution Run Lines define Distribution List, the Product and Quantities', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2486;
UPDATE AD_ELEMENT SET HELP='Maintain and allow to transfer general statistics (number of clients, orgs, business partners, users, products, invoices) to get a better feeling for the application use. This information is not published.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2489;
UPDATE AD_ELEMENT SET HELP='Forecast of Product Quantity by Period', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2499;
UPDATE AD_ELEMENT SET HELP='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity. If the Balance is below zero, we owe the Business Partner. The amount is used for Credit Management.
Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2562;
UPDATE AD_ELEMENT SET HELP='The Attribute Value type determines the data/validation type', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2574;
UPDATE AD_ELEMENT SET DESCRIPTION='Value set by Migration for post-Migration tasks.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2625;
UPDATE AD_ELEMENT SET DESCRIPTION='Type of Workflow', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2626;
UPDATE AD_ELEMENT SET HELP='When a document is due for too long without activity, a reminder is sent. 0 means no reminders.
The Remind Days are the days when the next email reminder is sent.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2631;
UPDATE AD_ELEMENT SET HELP='Internal name of the transaction', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2655;
UPDATE AD_ELEMENT SET HELP='List of classes implementing the interface org.compiere.model.ModelValidator, separated by semicolon.
The class is called for the client and allows to validate documents in the prepare stage and monitor model changes.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2670;
UPDATE AD_ELEMENT SET HELP='This allows to have multiple closed status', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2723;
UPDATE AD_ELEMENT SET HELP='The EMail address is used to send mails to users of the web store', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2731;
UPDATE AD_ELEMENT SET DESCRIPTION='Assignment of Employee (User) to Job Position', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2763;
UPDATE AD_ELEMENT SET HELP='Subscriber to invite to respond to RfQs', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2377;
UPDATE AD_ELEMENT SET HELP='Once per operation', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2779;
UPDATE AD_ELEMENT SET HELP='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group refers to a Bill of Materials', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2785;
UPDATE AD_ELEMENT SET HELP='The Bill of Material Component determines what products, services and outside processing is included in producing the Product. It references the operation and determines it''s sequence.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2786;
UPDATE AD_ELEMENT SET HELP='Phantom Component are not stored and produced with the product. This is an option to avoid maintaining an Engineering and Manufacturing Bill of Materials.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2788;
UPDATE AD_ELEMENT SET DESCRIPTION='Optional Lead Time offset before starting production', HELP='Optional Lead Time offset before starting production', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2789;
UPDATE AD_ELEMENT SET HELP='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselect it, the user has no access rights unless, you explicitly grant it in tab "BP Access"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2835;
UPDATE AD_ELEMENT SET DESCRIPTION='User/contact access to Business Partner information and resources', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2836;
UPDATE AD_ELEMENT SET HELP='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2843;
UPDATE AD_ELEMENT SET HELP='Note that the cost queue may not be the same as the physical movement cost queue due to differences in costing level and warehouse priority.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2845;
UPDATE AD_ELEMENT SET HELP='Account used for posting matched product (item) expenses (e.g. AP Invoice, Invoice Match). You would use a different account then Product Expense, if you want to differentiate service related costs from item related costs. The balance on the clearing account should be zero and accounts for the timing difference between invoice receipt and matching.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2847;
UPDATE AD_ELEMENT SET HELP='If selected, you will post service related revenue to a different receivables account and service related cost to a different payables account.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2849;
UPDATE AD_ELEMENT SET HELP='Enter the number of records the query will return without confirmation to avoid unnecessary system load. If 0, the system default of 500 is used.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2853;
UPDATE AD_ELEMENT SET HELP='Enter the number of records a user will be able to query to avoid unnecessary system load. If 0, no restrictions are imposed.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2854;
UPDATE AD_ELEMENT SET HELP='The Posting Type Commitments is created when posting Purchase Orders; The Posting Type Reservation is created when posting Requisitions. This is used for budgetary control.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2860;
UPDATE AD_ELEMENT SET HELP='Accounting related information for reconciliation with documents. It includes all revenue/expense and tax entries as a base for detail reporting', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2864;
UPDATE AD_ELEMENT SET HELP='If selected AP tax is handled as expense, otherwise it is handled as a VAT credit.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2870;
UPDATE AD_ELEMENT SET HELP='Budget Control allows you to restrict the use of expenditures, commitments (Purchase Orders) and reservations (Requisitions). If defined, you may not be able to approve Requisitions, Purchase Orders, or AP Invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2871;
UPDATE AD_ELEMENT SET HELP='A user defined accounting element refers to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID IN (2877,2878);
UPDATE AD_ELEMENT SET HELP='Visual representation of performance by color. The Schema has often three levels (e.g. red-yellow-green). Adempiere support two levels (e.g. red-green) or four levels (e.g. gray-bronze-silver-gold). Note that Measures without a goal are represented white. The percentages could be between 0 and unlimited (i.e. above 100%).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2903;
UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio', HELP='Calculation instruction set for a performance ratio', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2919;
UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio Used', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2929;
UPDATE AD_ELEMENT SET NAME='Next Maintenance',PRINTNAME='Next Maintenance', DESCRIPTION='Next Maintenance Date', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2932;
UPDATE AD_ELEMENT SET DESCRIPTION='Next Maintenance Unit', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2934;
UPDATE AD_ELEMENT SET HELP='The Meta Robots Tag define on how a search engines robot should handle this page and the following ones. It defines two keywords: (NO)INDEX which defines whether or not to index this content and (NO)FOLLOW which defines whether or not to follow links. The most common combination is INDEX,FOLLOW which will force a search robot to index the content and follow links and images.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2975;
UPDATE AD_ELEMENT SET DESCRIPTION='Contains list of elements separated by CR', HELP='Contains a list of elements this template uses separated by a Carriage Return. Last line should be empty', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2983;
UPDATE AD_ELEMENT SET HELP='A Container defines the abstract level around the content, it defines how the content gets displayed, indexed and stored.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2985;
UPDATE AD_ELEMENT SET DESCRIPTION='External Link (URL) for the Container', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2988;
UPDATE AD_ELEMENT SET HELP='This table contains all the media content like images, flash movies etc.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=2997;
UPDATE AD_ELEMENT SET HELP='If we have a block in content where announce content and also sponsored links we should mention the sponsored ones', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3007;
UPDATE AD_ELEMENT SET HELP='Media Server list to which content should get transferred', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3009;
UPDATE AD_ELEMENT SET HELP='A container element defines the smallest definition of content, i.e. the headline, the content etc.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID IN (3013,3023);
UPDATE AD_ELEMENT SET HELP='The date the revenue recognition starts.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3032;
UPDATE AD_ELEMENT SET DESCRIPTION='Container Stage Template Table', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3050;
UPDATE AD_ELEMENT SET HELP='The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintained by Adempiere (i.e. all changes are reversed during migration to the current definition).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3052;
UPDATE AD_ELEMENT SET HELP='If your application requires additional jar files, enter them here. The jar files must be located in the $ADEMPIERE_HOME/lib directory.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3054;
UPDATE AD_ELEMENT SET HELP='Keyword not to be indexed, optional restricted to specific Document Type, Container or Request Type', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3078;
UPDATE AD_ELEMENT SET DESCRIPTION='Open Debit in document currency & rate', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3083;
UPDATE AD_ELEMENT SET DESCRIPTION='Open Credit in document currency & rate', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3084;
UPDATE AD_ELEMENT SET DESCRIPTION='Open Balance in document currency & rate', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3085;
UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all due invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3088;
UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all not due invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3089;
UPDATE AD_ELEMENT SET HELP='The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authenticate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=3093;
UPDATE AD_ELEMENT SET PRINTNAME=NAME, DESCRIPTION='Table to check whether the migration script has been applied', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
WHERE AD_ELEMENT_ID=53350;
COMMIT;

View File

@ -1,20 +0,0 @@
-- Feb 15, 2010 5:40:55 PM CST
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_TIMESTAMP('2010-02-15 17:40:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
;
-- Feb 15, 2010 5:41:22 PM CST
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET Help=NULL, IsIdentifier='Y', SeqNo=2,Updated=TO_TIMESTAMP('2010-02-15 17:41:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
;
-- Feb 15, 2010 5:41:22 PM CST
-- Create new importer for Planning Data and Forecast
UPDATE AD_Field SET Name='Resource', Description='Resource', Help=NULL WHERE AD_Column_ID=53400 AND IsCentrallyMaintained='Y'
;
-- Feb 15, 2010 5:41:44 PM CST
-- Create new importer for Planning Data and Forecast
UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', SeqNo=3,Updated=TO_TIMESTAMP('2010-02-15 17:41:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
;

View File

@ -1,160 +0,0 @@
-- Feb 19, 2010 5:22:38 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54123,0,'IsIgnoreProcessingTime',TO_TIMESTAMP('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Ignore Processing Time','Ignore Proccessing Time',TO_TIMESTAMP('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:22:38 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54123 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Feb 19, 2010 5:26:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54124,0,'CronPattern',TO_TIMESTAMP('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Cron Scheduling Pattern','Cron Scheduling Pattern',TO_TIMESTAMP('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:26:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54124 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Feb 19, 2010 5:29:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59028,54123,0,20,688,'IsIgnoreProcessingTime',TO_TIMESTAMP('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Do not include processing time for the DateNextRun calculation','D',1,'When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Ignore Processing Time',0,TO_TIMESTAMP('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 19, 2010 5:29:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59028 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)
;
-- Feb 19, 2010 5:29:16 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
ALTER TABLE AD_Scheduler ADD COLUMN IsIgnoreProcessingTime CHAR(1) DEFAULT 'N' CHECK (IsIgnoreProcessingTime IN ('Y','N'))
;
-- Feb 19, 2010 5:46:42 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59029,54124,0,10,688,'CronPattern',TO_TIMESTAMP('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D',255,'Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Cron Scheduling Pattern',0,TO_TIMESTAMP('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 19, 2010 5:46:42 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59029 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)
;
-- Feb 19, 2010 5:46:46 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
ALTER TABLE AD_Scheduler ADD COLUMN CronPattern VARCHAR(255) DEFAULT NULL
;
-- Feb 19, 2010 5:47:11 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2010-02-19 17:47:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247
;
-- Feb 19, 2010 5:47:18 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2010-02-19 17:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255
;
-- Feb 19, 2010 5:48:07 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=665
;
-- Feb 19, 2010 5:48:10 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=664
;
-- Feb 19, 2010 5:49:04 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,318,53574,TO_TIMESTAMP('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Use cron style scheduling pattern','D','Y','Cron Scheduling Pattern',TO_TIMESTAMP('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'C')
;
-- Feb 19, 2010 5:49:04 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
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) 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 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=53574 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)
;
-- Feb 19, 2010 5:53:21 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10053
;
-- Feb 19, 2010 5:53:26 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:53:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10052
;
-- Feb 19, 2010 5:54:51 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59028,58773,0,589,TO_TIMESTAMP('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation',10,'@ScheduleType@=F','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','Y','N','N','N','N','N','Ignore Processing Time',160,0,TO_TIMESTAMP('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:54:51 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58773 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)
;
-- Feb 19, 2010 5:55:49 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsMandatory,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59029,58774,0,589,TO_TIMESTAMP('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.',60,'@ScheduleType@=C','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','Y','N','N','N','Y','N','N','Cron Scheduling Pattern',170,0,TO_TIMESTAMP('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 19, 2010 5:55:49 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58774 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)
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10053
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10052
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=9437
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9430
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=58773
;
-- Feb 19, 2010 5:57:03 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=58774
;
-- Feb 19, 2010 5:57:21 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-02-19 17:57:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9430
;
-- Feb 19, 2010 5:57:28 PM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-02-19 17:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9437
;
-- Feb 22, 2010 9:31:45 AM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53095,0,TO_TIMESTAMP('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Invalid cron scheduling pattern','Invalid cron scheduling pattern - check syntax','E',TO_TIMESTAMP('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'InvalidCronPattern')
;
-- Feb 22, 2010 9:31:45 AM MYT
-- adding cron4j to the Adempiere scheduler - ID: 2950261
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=53095 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)
;

View File

@ -1,10 +0,0 @@
-- Feb 24, 2010 4:03:13 PM EST
-- Payment selection due date parameter
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2000,0,156,53404,15,'DueDate',TO_TIMESTAMP('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Date when the payment is due','@OnlyDue@=Y','D',7,'Date when the payment is due without deductions or discount','Y','Y','N','N','Due Date',45,TO_TIMESTAMP('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 24, 2010 4:03:13 PM EST
-- Payment selection due date parameter
INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53404 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
;

View File

@ -1,5 +0,0 @@
-- 01-mar-2010 12:10:16 COT
-- Bug_2904257_wrong validation sql for M_InOutShipment/Receipt (RMA)
UPDATE AD_Val_Rule SET Code='M_InOutLine.M_InOut_ID=@InOut_ID@',Updated=TO_TIMESTAMP('2010-03-01 12:10:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=52001
;

View File

@ -1,237 +0,0 @@
-- Mar 2, 2010 2:06:30 PM COT
-- FR_2962094_Finish implementation of weighted average costing
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54128,0,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Processed On','Processed On',TO_TIMESTAMP('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 2, 2010 2:06:30 PM COT
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54128 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Mar 2, 2010 2:08:58 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59034,54128,0,22,735,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:08:58 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59034 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 2, 2010 2:09:03 PM COT
ALTER TABLE C_AllocationHdr ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:09:54 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59035,54128,0,22,392,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:09:54 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59035 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 2, 2010 2:09:56 PM COT
ALTER TABLE C_BankStatement ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:10:39 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59036,54128,0,22,407,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:10:39 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59036 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 2, 2010 2:10:42 PM COT
ALTER TABLE C_Cash ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:11:19 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59037,54128,0,22,318,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:11:19 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59037 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 2, 2010 2:11:22 PM COT
ALTER TABLE C_Invoice ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:11:48 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59038,54128,0,22,259,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:11:48 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59038 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 2, 2010 2:11:51 PM COT
ALTER TABLE C_Order ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:12:19 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59039,54128,0,22,335,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:12:19 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59039 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 2, 2010 2:12:22 PM COT
ALTER TABLE C_Payment ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:12:53 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59040,54128,0,22,623,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:12:53 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59040 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 2, 2010 2:12:55 PM COT
ALTER TABLE C_ProjectIssue ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:13:31 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59041,54128,0,22,53037,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:13:31 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59041 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 2, 2010 2:13:34 PM COT
ALTER TABLE DD_Order ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:13:58 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59042,54128,0,22,224,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:13:58 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59042 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 2, 2010 2:14:00 PM COT
ALTER TABLE GL_Journal ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:14:24 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59043,54128,0,22,53092,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:14:24 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59043 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 2, 2010 2:14:36 PM COT
ALTER TABLE HR_Process ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:15:02 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59044,54128,0,22,319,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:15:02 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59044 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 2, 2010 2:15:05 PM COT
ALTER TABLE M_InOut ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:15:29 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59045,54128,0,22,321,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:15:29 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59045 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 2, 2010 2:15:30 PM COT
ALTER TABLE M_Inventory ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:15:52 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59046,54128,0,22,472,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:15:52 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59046 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 2, 2010 2:15:53 PM COT
ALTER TABLE M_MatchInv ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:16:16 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59047,54128,0,22,473,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:16:16 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59047 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 2, 2010 2:16:17 PM COT
ALTER TABLE M_MatchPO ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:16:43 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59048,54128,0,22,323,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:16:43 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59048 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 2, 2010 2:16:44 PM COT
ALTER TABLE M_Movement ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:17:09 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59049,54128,0,22,325,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:17:09 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59049 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 2, 2010 2:17:11 PM COT
ALTER TABLE M_Production ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:17:33 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59050,54128,0,22,702,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:17:33 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59050 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 2, 2010 2:17:35 PM COT
ALTER TABLE M_Requisition ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:18:10 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59051,54128,0,22,53035,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:18:10 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59051 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 2, 2010 2:18:12 PM COT
ALTER TABLE PP_Cost_Collector ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;
-- Mar 2, 2010 2:18:38 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59052,54128,0,22,53027,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 2, 2010 2:18:38 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59052 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 2, 2010 2:18:40 PM COT
ALTER TABLE PP_Order ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
;

View File

@ -1,421 +0,0 @@
-- create temporary index
CREATE INDEX tmp_ad_wf_activity_speed ON ad_wf_activity(ad_table_id, record_id);
-- ****** SET ProcessedOn on table C_AllocationHdr ******
-- try to get the processed from ad_changelog
update C_AllocationHdr set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 735 and record_id = C_AllocationHdr.C_AllocationHdr_id and ad_column_id = 12309
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_AllocationHdr set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 735 and a.record_id = C_AllocationHdr.C_AllocationHdr_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_AllocationHdr set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_BankStatement ******
-- try to get the processed from ad_changelog
update C_BankStatement set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 392 and record_id = C_BankStatement.C_BankStatement_id and ad_column_id = 4924
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_BankStatement set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 392 and a.record_id = C_BankStatement.C_BankStatement_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_BankStatement set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Cash ******
-- try to get the processed from ad_changelog
update C_Cash set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 407 and record_id = C_Cash.C_Cash_id and ad_column_id = 5258
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Cash set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 407 and a.record_id = C_Cash.C_Cash_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Cash set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Invoice ******
-- try to get the processed from ad_changelog
update C_Invoice set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 318 and record_id = C_Invoice.C_Invoice_id and ad_column_id = 3497
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Invoice set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 318 and a.record_id = C_Invoice.C_Invoice_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Invoice set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Order ******
-- try to get the processed from ad_changelog
update C_Order set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 259 and record_id = C_Order.C_Order_id and ad_column_id = 3398
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Order set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 259 and a.record_id = C_Order.C_Order_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Order set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_Payment ******
-- try to get the processed from ad_changelog
update C_Payment set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 335 and record_id = C_Payment.C_Payment_id and ad_column_id = 3878
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_Payment set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 335 and a.record_id = C_Payment.C_Payment_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_Payment set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table C_ProjectIssue ******
-- try to get the processed from ad_changelog
update C_ProjectIssue set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 623 and record_id = C_ProjectIssue.C_ProjectIssue_id and ad_column_id = 9842
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update C_ProjectIssue set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 623 and a.record_id = C_ProjectIssue.C_ProjectIssue_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update C_ProjectIssue set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table DD_Order ******
-- try to get the processed from ad_changelog
update DD_Order set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 53037 and record_id = DD_Order.DD_Order_id and ad_column_id = 53912
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update DD_Order set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53037 and a.record_id = DD_Order.DD_Order_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update DD_Order set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table GL_Journal ******
-- try to get the processed from ad_changelog
update GL_Journal set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 224 and record_id = GL_Journal.GL_Journal_id and ad_column_id = 5953
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update GL_Journal set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 224 and a.record_id = GL_Journal.GL_Journal_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update GL_Journal set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table HR_Process ******
-- try to get the processed from ad_changelog
update HR_Process set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 53092 and record_id = HR_Process.HR_Process_id and ad_column_id = 54876
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update HR_Process set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53092 and a.record_id = HR_Process.HR_Process_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update HR_Process set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_InOut ******
-- try to get the processed from ad_changelog
update M_InOut set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 319 and record_id = M_InOut.M_InOut_id and ad_column_id = 3518
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_InOut set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 319 and a.record_id = M_InOut.M_InOut_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_InOut set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Inventory ******
-- try to get the processed from ad_changelog
update M_Inventory set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 321 and record_id = M_Inventory.M_Inventory_id and ad_column_id = 3553
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Inventory set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 321 and a.record_id = M_Inventory.M_Inventory_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Inventory set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_MatchInv ******
-- try to get the processed from ad_changelog
update M_MatchInv set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 472 and record_id = M_MatchInv.M_MatchInv_id and ad_column_id = 6511
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_MatchInv set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 472 and a.record_id = M_MatchInv.M_MatchInv_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_MatchInv set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_MatchPO ******
-- try to get the processed from ad_changelog
update M_MatchPO set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 473 and record_id = M_MatchPO.M_MatchPO_id and ad_column_id = 6527
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_MatchPO set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 473 and a.record_id = M_MatchPO.M_MatchPO_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_MatchPO set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Movement ******
-- try to get the processed from ad_changelog
update M_Movement set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 323 and record_id = M_Movement.M_Movement_id and ad_column_id = 3580
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Movement set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 323 and a.record_id = M_Movement.M_Movement_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Movement set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Production ******
-- try to get the processed from ad_changelog
update M_Production set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 325 and record_id = M_Production.M_Production_id and ad_column_id = 3609
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Production set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 325 and a.record_id = M_Production.M_Production_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Production set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table M_Requisition ******
-- try to get the processed from ad_changelog
update M_Requisition set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 702 and record_id = M_Requisition.M_Requisition_id and ad_column_id = 11473
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update M_Requisition set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 702 and a.record_id = M_Requisition.M_Requisition_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update M_Requisition set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table PP_Cost_Collector ******
-- try to get the processed from ad_changelog
update PP_Cost_Collector set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 53035 and record_id = PP_Cost_Collector.PP_Cost_Collector_id and ad_column_id = 53834
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update PP_Cost_Collector set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53035 and a.record_id = PP_Cost_Collector.PP_Cost_Collector_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update PP_Cost_Collector set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- ****** SET ProcessedOn on table PP_Order ******
-- try to get the processed from ad_changelog
update PP_Order set processedon =
(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
where ad_table_id = 53027 and record_id = PP_Order.PP_Order_id and ad_column_id = 53664
and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
where processedon is null and processed = 'Y';
-- if not then try to get the processed from ad_wf_activity
update PP_Order set processedon =
(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
where a.ad_table_id = 53027 and a.record_id = PP_Order.PP_Order_id
and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
where processedon is null and processed = 'Y';
-- fallback to created date
update PP_Order set processedon = EXTRACT(EPOCH FROM created)*1000
where processedon is null and processed = 'Y';
-- drop temporary index
DROP INDEX tmp_ad_wf_activity_speed;

View File

@ -1,15 +0,0 @@
-- Mar 4, 2010 1:33:05 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''DIS''',Updated=TO_TIMESTAMP('2010-03-04 13:33:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53141
;
-- Mar 4, 2010 1:33:13 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''SPL''',Updated=TO_TIMESTAMP('2010-03-04 13:33:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53151
;
-- Mar 4, 2010 1:33:21 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''TRN''',Updated=TO_TIMESTAMP('2010-03-04 13:33:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53140
;

View File

@ -1,105 +0,0 @@
-- Mar 4, 2010 1:54:35 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_TIMESTAMP('2010-03-04 13:54:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55347
;
-- Mar 4, 2010 1:55:33 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_TIMESTAMP('2010-03-04 13:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
;
-- Mar 4, 2010 1:56:07 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO t_alter_column values('a_depreciation','Processed','CHAR(1)',null,'Y')
;
-- Mar 4, 2010 1:56:08 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation SET Processed='Y' WHERE Processed IS NULL
;
-- Mar 4, 2010 1:56:28 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2010-03-04 13:56:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
;
-- Mar 4, 2010 1:56:30 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO t_alter_column values('a_depreciation_entry','Processed','CHAR(1)',null,'N')
;
-- Mar 4, 2010 1:56:31 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation_Entry SET Processed='N' WHERE Processed IS NULL
;
-- Mar 4, 2010 1:56:58 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=53111, AD_Reference_ID=28,Updated=TO_TIMESTAMP('2010-03-04 13:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55703
;
-- Mar 4, 2010 1:57:00 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO t_alter_column values('a_depreciation_build','Processing','CHAR(1)',null,'NULL')
;
-- Mar 4, 2010 1:57:15 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_TIMESTAMP('2010-03-04 13:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55700
;
-- Mar 4, 2010 1:57:19 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO t_alter_column values('a_depreciation_build','Processed','CHAR(1)',null,'N')
;
-- Mar 4, 2010 1:58:11 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59065,524,0,53123,28,53125,'Processing',TO_TIMESTAMP('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','Y','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 4, 2010 1:58:11 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59065 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 4, 2010 1:58:36 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2010-03-04 13:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59065
;
-- Mar 4, 2010 1:58:38 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
ALTER TABLE A_Depreciation_Convention ADD COLUMN Processing CHAR(1) DEFAULT NULL
;
-- Mar 4, 2010 1:58:51 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_TIMESTAMP('2010-03-04 13:58:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55736
;
-- Mar 4, 2010 1:58:54 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO t_alter_column values('a_depreciation_convention','Processed','CHAR(1)',null,'N')
;
-- Mar 4, 2010 1:58:54 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation_Convention SET Processed='N' WHERE Processed IS NULL
;
-- Mar 4, 2010 1:59:46 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_TIMESTAMP('2010-03-04 13:59:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55747
;
-- Mar 4, 2010 1:59:49 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
INSERT INTO t_alter_column values('a_depreciation_method','Processed','CHAR(1)',null,'Y')
;
-- Mar 4, 2010 1:59:49 PM COT
-- BF2948897_Fixed Assets Dictionary Errors
UPDATE A_Depreciation_Method SET Processed='Y' WHERE Processed IS NULL
;

View File

@ -1,311 +0,0 @@
-- Mar 8, 2010 4:20:41 PM CET
-- Import of Order Source
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59066,53942,0,19,591,'C_OrderSource_ID',TO_TIMESTAMP('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','N','N','N','N','N','N','Y','Order Source',0,TO_TIMESTAMP('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 4:20:41 PM CET
-- Import of Order Source
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59066 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 8, 2010 4:20:44 PM CET
-- Import of Order Source
ALTER TABLE I_Order ADD COLUMN C_OrderSource_ID NUMERIC(10) DEFAULT NULL
;
-- Mar 8, 2010 4:23:40 PM CET
-- Import of Order Source
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54129,0,'C_OrderSourceValue',TO_TIMESTAMP('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Order Source Key','Order Source Key',TO_TIMESTAMP('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 4:23:40 PM CET
-- Import of Order Source
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54129 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Mar 8, 2010 4:27:20 PM CET
-- Import of Order Source
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59068,54129,0,10,591,'C_OrderSourceValue',TO_TIMESTAMP('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Order Source Key',0,TO_TIMESTAMP('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 4:27:20 PM CET
-- Import of Order Source
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59068 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 8, 2010 4:27:27 PM CET
-- Import of Order Source
ALTER TABLE I_Order ADD COLUMN C_OrderSourceValue VARCHAR(40) DEFAULT NULL
;
-- Mar 8, 2010 4:32:35 PM CET
-- Import of Order Source
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59068,58779,0,512,TO_TIMESTAMP('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source Key',590,0,TO_TIMESTAMP('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 4:32:35 PM CET
-- Import of Order Source
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58779 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 8, 2010 4:33:50 PM CET
-- Import of Order Source
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59066,58780,0,512,TO_TIMESTAMP('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source',600,0,TO_TIMESTAMP('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 4:33:50 PM CET
-- Import of Order Source
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58780 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 8, 2010 4:33:58 PM CET
-- Import of Order Source
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-03-08 16:33:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58780
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7347
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7334
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=7328
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=7319
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=7323
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=7324
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=7337
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=7315
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=7355
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=7356
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=7338
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=7322
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=7359
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=7336
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=7318
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=7330
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=7339
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=7325
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=7341
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7346
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7345
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7331
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7317
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7360
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7354
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=7340
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=7645
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=7332
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=7353
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=7361
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=7358
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=7350
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=7640
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=7644
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=7641
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=7326
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=7642
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=7643
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=7343
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=8262
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=8263
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7329
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=7357
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56402
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56403
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=58779
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=58780
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=7327
;
-- Mar 8, 2010 4:35:20 PM CET
-- Import of Order Source
UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=7335
;

View File

@ -1,413 +0,0 @@
-- Mar 8, 2010 8:44:44 PM COT
-- FR2962094_Finish implementation of weighted average costing
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54132,0,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Average Cost Variance','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:44:44 PM COT
INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54132 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
;
-- Mar 8, 2010 8:46:06 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59071,54132,0,25,315,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 8:46:06 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59071 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 8, 2010 8:46:19 PM COT
ALTER TABLE C_AcctSchema_Default ADD COLUMN P_AverageCostVariance_Acct NUMERIC(10) DEFAULT NULL
;
-- Mar 8, 2010 8:46:45 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59072,54132,0,25,401,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 8:46:45 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59072 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 8, 2010 8:46:50 PM COT
ALTER TABLE M_Product_Category_Acct ADD COLUMN P_AverageCostVariance_Acct NUMERIC(10) DEFAULT NULL
;
-- Mar 8, 2010 8:47:12 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59073,54132,0,25,273,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Mar 8, 2010 8:47:12 PM COT
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) 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 FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59073 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 8, 2010 8:47:17 PM COT
ALTER TABLE M_Product_Acct ADD COLUMN P_AverageCostVariance_Acct NUMERIC(10) DEFAULT NULL
;
-- Mar 8, 2010 8:49:30 PM COT
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59071,106,58783,0,252,TO_TIMESTAMP('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',770,0,TO_TIMESTAMP('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:49:30 PM COT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58783 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 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=58783
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4861
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=4862
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2663
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=4863
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=2662
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=3824
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2654
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=3835
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56529
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56522
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=56524
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=56528
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=56527
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56525
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56523
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=56520
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=56521
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=56526
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=56550
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=56551
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=3842
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=3841
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=3846
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=5133
;
-- Mar 8, 2010 8:50:01 PM COT
UPDATE AD_Field SET SeqNo=530,IsDisplayed='Y' WHERE AD_Field_ID=5132
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=540,IsDisplayed='Y' WHERE AD_Field_ID=3843
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=550,IsDisplayed='Y' WHERE AD_Field_ID=3845
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=560,IsDisplayed='Y' WHERE AD_Field_ID=3844
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=3849
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=3850
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=5138
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=3847
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=610,IsDisplayed='Y' WHERE AD_Field_ID=3839
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=620,IsDisplayed='Y' WHERE AD_Field_ID=3837
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=630,IsDisplayed='Y' WHERE AD_Field_ID=3840
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=640,IsDisplayed='Y' WHERE AD_Field_ID=3838
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=650,IsDisplayed='Y' WHERE AD_Field_ID=3836
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=660,IsDisplayed='Y' WHERE AD_Field_ID=3851
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=670,IsDisplayed='Y' WHERE AD_Field_ID=3852
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=680,IsDisplayed='Y' WHERE AD_Field_ID=3830
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=690,IsDisplayed='Y' WHERE AD_Field_ID=3831
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=700,IsDisplayed='Y' WHERE AD_Field_ID=3832
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=710,IsDisplayed='Y' WHERE AD_Field_ID=3833
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=720,IsDisplayed='Y' WHERE AD_Field_ID=4092
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=730,IsDisplayed='Y' WHERE AD_Field_ID=4093
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=740,IsDisplayed='Y' WHERE AD_Field_ID=5134
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=750,IsDisplayed='Y' WHERE AD_Field_ID=4094
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=760,IsDisplayed='Y' WHERE AD_Field_ID=4095
;
-- Mar 8, 2010 8:50:02 PM COT
UPDATE AD_Field SET SeqNo=770,IsDisplayed='Y' WHERE AD_Field_ID=3823
;
-- Mar 8, 2010 8:50:56 PM COT
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59072,58784,0,324,TO_TIMESTAMP('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',310,0,TO_TIMESTAMP('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:50:56 PM COT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58784 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 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=58784
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=4872
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=4873
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=3944
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56539
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56532
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56534
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56538
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56537
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56535
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56533
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56530
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56531
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56536
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56552
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56553
;
-- Mar 8, 2010 8:51:06 PM COT
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=3945
;
-- Mar 8, 2010 8:51:50 PM COT
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59073,58785,0,210,TO_TIMESTAMP('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',280,0,TO_TIMESTAMP('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:51:50 PM COT
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58785 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 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=58785
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4868
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4869
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=2608
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56549
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56542
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56544
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56548
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56547
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56545
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56543
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56540
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56541
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56546
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56554
;
-- Mar 8, 2010 8:51:59 PM COT
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56555
;
-- Mar 8, 2010 9:03:21 PM COT
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-03-08 21:03:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58783
;
-- Mar 8, 2010 9:03:44 PM COT
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-03-08 21:03:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58784
;
-- Mar 8, 2010 9:04:06 PM COT
UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-03-08 21:04:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58785
;

View File

@ -1,56 +0,0 @@
-- Mar 8, 2010 8:56:27 PM COT
-- FR2962094_Finish implementation of weighted average costing
INSERT INTO C_ElementValue (AccountSign,AccountType,AD_Client_ID,AD_Org_ID,C_Element_ID,C_ElementValue_ID,Created,CreatedBy,Description,IsActive,IsBankAccount,IsDocControlled,IsForeignCurrency,IsSummary,Name,PostActual,PostBudget,PostEncumbrance,PostStatistical,Updated,UpdatedBy,Value) VALUES ('N','E',11,0,105,50017,TO_TIMESTAMP('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'Account for Average Cost Variance','Y','N','Y','N','N','Average Cost Variance','Y','Y','Y','Y',TO_TIMESTAMP('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'58800')
;
-- Mar 8, 2010 8:56:27 PM COT
INSERT INTO C_ElementValue_Trl (AD_Language,C_ElementValue_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_ElementValue_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, C_ElementValue t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_ElementValue_ID=50017 AND NOT EXISTS (SELECT * FROM C_ElementValue_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_ElementValue_ID=t.C_ElementValue_ID)
;
-- Mar 8, 2010 8:56:27 PM COT
INSERT INTO AD_TreeNode (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID, 0, 'Y', CURRENT_TIMESTAMP, 100, CURRENT_TIMESTAMP, 100,t.AD_Tree_ID, 50017, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=11 AND t.IsActive='Y' AND EXISTS (SELECT * FROM C_Element ae WHERE ae.C_Element_ID=105 AND t.AD_Tree_ID=ae.AD_Tree_ID) AND NOT EXISTS (SELECT * FROM AD_TreeNode e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=50017)
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=444
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=445
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=635
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50001
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50002
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50003
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50004
;
-- Mar 8, 2010 8:56:34 PM COT
UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50017
;
-- Mar 8, 2010 8:58:19 PM COT
INSERT INTO C_ValidCombination (Account_ID,AD_Client_ID,AD_Org_ID,C_AcctSchema_ID,Combination,Created,CreatedBy,C_ValidCombination_ID,Description,IsActive,IsFullyQualified,Updated,UpdatedBy) VALUES (50017,11,11,101,'HQ-58800-_-_-_-_',TO_TIMESTAMP('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100,50013,'HQ-Average Cost Variance-_-_-_-_','Y','Y',TO_TIMESTAMP('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Mar 8, 2010 8:58:32 PM COT
UPDATE C_AcctSchema_Default SET P_AverageCostVariance_Acct=50013,Updated=TO_TIMESTAMP('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
;
UPDATE M_Product_Category_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_TIMESTAMP('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;
UPDATE M_Product_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_TIMESTAMP('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;

View File

@ -1 +0,0 @@
UPDATE AD_ReportView SET WHERECLAUSE = 'DocStatus IN (''CO'',''CL'') AND IsAllocated=''N''' where ad_reportview_id=155;

View File

@ -1,9 +0,0 @@
--
-- BF [ 1774758 ] No default Sales Representant in request window
--
UPDATE AD_COLUMN
SET DefaultValue = '@#AD_User_ID@'
WHERE DefaultValue = '@AD_User_ID@' AND AD_Column_ID = 5432;
COMMIT;

View File

@ -1,8 +0,0 @@
-- Mar 11, 2010 3:09:41 PM COT
UPDATE M_Product SET DescriptionURL='http://www.adempiere.com/index.php/SampleProductDescriptionForDocumentation', ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_TIMESTAMP('2010-03-11 15:09:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=146
;
-- Mar 11, 2010 3:09:58 PM COT
UPDATE M_Product SET ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_TIMESTAMP('2010-03-11 15:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=126
;

View File

@ -1,82 +0,0 @@
-- Mar 13, 2010 5:43:23 PM COT
-- BF2970013_Process Para uniqueness required
UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_TIMESTAMP('2010-03-13 17:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=131
;
-- Mar 13, 2010 5:43:25 PM COT
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2010-03-13 17:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=244
;
-- Mar 13, 2010 5:43:27 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53074
;
-- Mar 13, 2010 5:43:33 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53073
;
-- Mar 13, 2010 5:43:58 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:43:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=471
;
-- Mar 13, 2010 5:44:32 PM COT
UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
;
-- Mar 13, 2010 5:45:12 PM COT
UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
;
-- Mar 13, 2010 5:45:56 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:45:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=397
;
-- Mar 13, 2010 5:46:18 PM COT
UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2010-03-13 17:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=588
;
-- Mar 13, 2010 5:46:20 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=585
;
-- Mar 13, 2010 5:46:22 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53153
;
-- Mar 13, 2010 5:46:23 PM COT
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2010-03-13 17:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53154
;
-- Mar 13, 2010 5:46:25 PM COT
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2010-03-13 17:46:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=586
;
-- Mar 13, 2010 5:46:27 PM COT
UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2010-03-13 17:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=587
;
-- Mar 13, 2010 5:46:55 PM COT
UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53066
;
-- Mar 13, 2010 5:46:56 PM COT
UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53067
;
-- Mar 13, 2010 5:47:22 PM COT
UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
;
-- Mar 13, 2010 5:47:43 PM COT
UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2010-03-13 17:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
;
-- Mar 13, 2010 5:47:46 PM COT
UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2010-03-13 17:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53280
;
-- Mar 13, 2010 5:47:50 PM COT
UPDATE AD_Process_Para SET EntityType='EE01',Updated=TO_TIMESTAMP('2010-03-13 17:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
;
create unique index ad_procpara_procseqno on ad_process_para (ad_process_id, seqno);

View File

@ -1,146 +0,0 @@
-- Mar 13, 2010 11:54:49 PM COT
-- BF_2968442_Post without Application Server
UPDATE AD_Element SET Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.', Name='Post Immediately (Deprecated)',Updated=TO_TIMESTAMP('2010-03-13 23:54:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2843
;
-- Mar 13, 2010 11:54:49 PM COT
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2843
;
-- Mar 13, 2010 11:54:49 PM COT
UPDATE AD_Column SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.', AD_Element_ID=2843 WHERE UPPER(ColumnName)='ISPOSTIMMEDIATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843 AND IsCentrallyMaintained='Y'
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_Field SET Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=2843) AND IsCentrallyMaintained='Y'
;
-- Mar 13, 2010 11:54:50 PM COT
UPDATE AD_PrintFormatItem SET PrintName='Post Immediate', Name='Post Immediately (Deprecated)' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=2843)
;
-- Mar 13, 2010 11:55:40 PM COT
UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-03-13 23:55:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12326
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=12327
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=317
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=318
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=319
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10318
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=5160
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5759
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=11025
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=11205
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=3813
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5887
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=5161
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=5162
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5163
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5164
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12099
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12098
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=11024
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=12326
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=50158
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=50159
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=50160
;
-- Mar 13, 2010 11:55:55 PM COT
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=50184
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=50185
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=50186
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54238
;
-- Mar 13, 2010 11:55:56 PM COT
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54680
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('925_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('926_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('937_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('951_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('953_PlaceHolder.sql') FROM dual
;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
UPDATE AD_Process SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Process_ID<1000000;
UPDATE AD_Process_Para SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Process_Para_ID<1000000;
UPDATE AD_ReportView SET EntityType = 'D' WHERE EntityType = 'U' AND AD_ReportView_ID<1000000;
UPDATE AD_Field SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Field_ID<1000000;
UPDATE AD_Element SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Element_ID<1000000;
UPDATE AD_Val_Rule SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Val_Rule_ID<1000000;
UPDATE AD_Reference SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Reference_ID<1000000;
UPDATE AD_Menu SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Menu_ID<1000000;
UPDATE AD_Ref_List SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Ref_List_ID<1000000;
UPDATE AD_Column SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Column_ID<1000000;
UPDATE AD_Table SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Table_ID<1000000;
UPDATE AD_Message SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Message_ID<1000000;
UPDATE AD_Window SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Window_ID<1000000;
SELECT register_migration_script('955_FixWrongEntityTypes.sql') FROM dual
;

View File

@ -0,0 +1,381 @@
ALTER TABLE A_Asset ADD (CONSTRAINT AAssetClass_AAsset FOREIGN KEY (A_Asset_Class_ID) REFERENCES A_Asset_Class);
ALTER TABLE A_Asset ADD (CONSTRAINT AAssetType_AAsset FOREIGN KEY (A_Asset_Type_ID) REFERENCES A_Asset_Type);
ALTER TABLE A_Asset ADD (CONSTRAINT CActivity_AAsset FOREIGN KEY (C_Activity_ID) REFERENCES C_Activity);
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ADepreciationF_AAssetAcct FOREIGN KEY (A_Depreciation_F_ID) REFERENCES A_Depreciation);
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ADepreciationConvF_AAssetAcct FOREIGN KEY (A_Depreciation_Conv_F_ID) REFERENCES A_Depreciation_Convention);
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ADepreciationMethodF_AAssetAcc FOREIGN KEY (A_Depreciation_Method_F_ID) REFERENCES A_Depreciation_Method);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT CCharge_AAssetAddition FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT CConversionType_AAssetAddition FOREIGN KEY (C_ConversionType_ID) REFERENCES C_ConversionType);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT CCurrency_AAssetAddition FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT CProject_AAssetAddition FOREIGN KEY (C_Project_ID) REFERENCES C_Project);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT IFixedAsset_AAssetAddition FOREIGN KEY (I_FixedAsset_ID) REFERENCES I_FixedAsset);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT MInOutLine_AAssetAddition FOREIGN KEY (M_InOutLine_ID) REFERENCES M_InOutLine);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT MMatchInv_AAssetAddition FOREIGN KEY (M_MatchInv_ID) REFERENCES M_MatchInv);
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT MProduct_AAssetAddition FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE A_Asset_Change ADD (CONSTRAINT CBPartner_AAssetChange FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner);
ALTER TABLE A_Asset_Disposed ADD (CONSTRAINT AAsset_AAssetDisposed FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Asset_Disposed ADD (CONSTRAINT CInvoice_AAssetDisposed FOREIGN KEY (C_Invoice_ID) REFERENCES C_Invoice);
ALTER TABLE A_Asset_Disposed ADD (CONSTRAINT CInvoiceLine_AAssetDisposed FOREIGN KEY (C_InvoiceLine_ID) REFERENCES C_InvoiceLine);
ALTER TABLE A_Asset_Group ADD (CONSTRAINT AAssetClass_AAssetGroup FOREIGN KEY (A_Asset_Class_ID) REFERENCES A_Asset_Class);
ALTER TABLE A_Asset_Group ADD (CONSTRAINT AAssetType_AAssetGroup FOREIGN KEY (A_Asset_Type_ID) REFERENCES A_Asset_Type);
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADepreciationF_AAssetGroupAcct FOREIGN KEY (A_Depreciation_F_ID) REFERENCES A_Depreciation);
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADepreciationConvF_AAssetGroup FOREIGN KEY (A_Depreciation_Conv_F_ID) REFERENCES A_Depreciation_Convention);
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADepreciationConv_AAssetGroupA FOREIGN KEY (A_Depreciation_Conv_ID) REFERENCES A_Depreciation_Convention);
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADepreciationMethodF_AAssetGro FOREIGN KEY (A_Depreciation_Method_F_ID) REFERENCES A_Depreciation_Method);
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADepreciationMethod_AAssetGrou FOREIGN KEY (A_Depreciation_Method_ID) REFERENCES A_Depreciation_Method);
ALTER TABLE A_Asset_Info_Fin ADD (CONSTRAINT AAsset_AAssetInfoFin FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Asset_Info_Fin ADD (CONSTRAINT CBPartner_AAssetInfoFin FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner);
ALTER TABLE A_Asset_Info_Lic ADD (CONSTRAINT AAsset_AAssetInfoLic FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Asset_Product ADD (CONSTRAINT AAsset_AAssetProduct FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Asset_Product ADD (CONSTRAINT MProduct_AAssetProduct FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE A_Asset_Reval ADD (CONSTRAINT AAsset_AAssetReval FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT AAsset_AAssetTransfer FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE AD_AlertProcessor ADD (CONSTRAINT ADSchedule_ADAlertProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule);
ALTER TABLE AD_Client ADD (CONSTRAINT ADPasswordRule_ADClient FOREIGN KEY (AD_PasswordRule_ID) REFERENCES AD_PasswordRule);
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT AAsset_ADepreciationExp FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT AAssetAddition_ADepreciationEx FOREIGN KEY (A_Asset_Addition_ID) REFERENCES A_Asset_Addition);
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT AAssetDisposed_ADepreciationEx FOREIGN KEY (A_Asset_Disposed_ID) REFERENCES A_Asset_Disposed);
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT ADepreciationEntry_ADepreciati FOREIGN KEY (A_Depreciation_Entry_ID) REFERENCES A_Depreciation_Entry);
ALTER TABLE A_Depreciation_Workfile ADD (CONSTRAINT AAsset_ADepreciationWorkfile FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE A_Depreciation_Workfile ADD (CONSTRAINT AFundingMode_ADepreciationWork FOREIGN KEY (A_FundingMode_ID) REFERENCES A_FundingMode);
ALTER TABLE AD_Package_Exp_Detail ADD (CONSTRAINT ADPackageExp_ADPackageExpDetai FOREIGN KEY (AD_Package_Exp_ID) REFERENCES AD_Package_Exp);
ALTER TABLE AD_PInstance_Log ADD (CONSTRAINT ADTable_ADPInstanceLog FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table);
ALTER TABLE AD_RecentItem ADD (CONSTRAINT ADRole_ADRecentItem FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role);
ALTER TABLE AD_RecentItem ADD (CONSTRAINT ADTab_ADRecentItem FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab);
ALTER TABLE AD_RecentItem ADD (CONSTRAINT ADTable_ADRecentItem FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table);
ALTER TABLE AD_RecentItem ADD (CONSTRAINT ADUser_ADRecentItem FOREIGN KEY (AD_User_ID) REFERENCES AD_User);
ALTER TABLE AD_RecentItem ADD (CONSTRAINT ADWindow_ADRecentItem FOREIGN KEY (AD_Window_ID) REFERENCES AD_Window);
ALTER TABLE AD_Scheduler ADD (CONSTRAINT ADSchedule_ADScheduler FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule);
ALTER TABLE AD_Scheduler ADD (CONSTRAINT ADTable_ADScheduler FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table);
ALTER TABLE AD_Tab_Customization ADD (CONSTRAINT ADTab_ADTabCustomization FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab);
ALTER TABLE AD_Tab_Customization ADD (CONSTRAINT ADUser_ADTabCustomization FOREIGN KEY (AD_User_ID) REFERENCES AD_User);
ALTER TABLE AD_ToolBarButton ADD (CONSTRAINT ADProcess_ADToolBarButton FOREIGN KEY (AD_Process_ID) REFERENCES AD_Process);
ALTER TABLE AD_ToolBarButton ADD (CONSTRAINT ADTab_ADToolBarButton FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab);
ALTER TABLE AD_ToolBarButtonRestrict ADD (CONSTRAINT ADProcess_ADToolBarButtonRestr FOREIGN KEY (AD_Process_ID) REFERENCES AD_Process);
ALTER TABLE AD_ToolBarButtonRestrict ADD (CONSTRAINT ADRole_ADToolBarButtonRestrict FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role);
ALTER TABLE AD_ToolBarButtonRestrict ADD (CONSTRAINT ADTab_ADToolBarButtonRestrict FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab);
ALTER TABLE AD_ToolBarButtonRestrict ADD (CONSTRAINT ADToolBarButton_ADToolBarButto FOREIGN KEY (AD_ToolBarButton_ID) REFERENCES AD_ToolBarButton);
ALTER TABLE AD_ToolBarButtonRestrict ADD (CONSTRAINT ADWindow_ADToolBarButtonRestri FOREIGN KEY (AD_Window_ID) REFERENCES AD_Window);
ALTER TABLE AD_WizardProcess ADD (CONSTRAINT ADWFNode_ADWizardProcess FOREIGN KEY (AD_WF_Node_ID) REFERENCES AD_WF_Node);
ALTER TABLE AD_WorkflowProcessor ADD (CONSTRAINT ADSchedule_ADWorkflowProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule);
ALTER TABLE A_FundingMode_Acct ADD (CONSTRAINT AFundingMode_AFundingModeAcct FOREIGN KEY (A_FundingMode_ID) REFERENCES A_FundingMode);
ALTER TABLE A_FundingMode_Acct ADD (CONSTRAINT CAcctSchema_AFundingModeAcct FOREIGN KEY (C_AcctSchema_ID) REFERENCES C_AcctSchema);
ALTER TABLE ASP_Ref_List ADD (CONSTRAINT ADReference_ASPRefList FOREIGN KEY (AD_Reference_ID) REFERENCES AD_Reference);
ALTER TABLE ASP_Ref_List ADD (CONSTRAINT ADRefList_ASPRefList FOREIGN KEY (AD_Ref_List_ID) REFERENCES AD_Ref_List);
ALTER TABLE ASP_Ref_List ADD (CONSTRAINT ASPLevel_ASPRefList FOREIGN KEY (ASP_Level_ID) REFERENCES ASP_Level);
ALTER TABLE C_AcctProcessor ADD (CONSTRAINT ADSchedule_CAcctProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule);
ALTER TABLE C_AllocationLine ADD (CONSTRAINT CCharge_CAllocationLine FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge);
ALTER TABLE C_BankAccount_Processor ADD (CONSTRAINT CBankAccount_CBankAccountProce FOREIGN KEY (C_BankAccount_ID) REFERENCES C_BankAccount);
ALTER TABLE C_BankAccount_Processor ADD (CONSTRAINT CPaymentProcessor_CBankAccount FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor);
ALTER TABLE C_Payment ADD (CONSTRAINT CPaymentProcessor_CPayment FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor);
ALTER TABLE C_Payment ADD (CONSTRAINT CPOSTenderType_CPayment FOREIGN KEY (C_POSTenderType_ID) REFERENCES C_POSTenderType);
ALTER TABLE C_POSPayment ADD (CONSTRAINT COrder_CPOSPayment FOREIGN KEY (C_Order_ID) REFERENCES C_Order);
ALTER TABLE C_POSPayment ADD (CONSTRAINT CPayment_CPOSPayment FOREIGN KEY (C_Payment_ID) REFERENCES C_Payment);
ALTER TABLE C_POSPayment ADD (CONSTRAINT CPOSTenderType_CPOSPayment FOREIGN KEY (C_POSTenderType_ID) REFERENCES C_POSTenderType);
ALTER TABLE DD_OrderLine ADD (CONSTRAINT MShipper_DDOrderLine FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper);
ALTER TABLE Fact_Acct_Summary ADD (CONSTRAINT ADOrgTrx_FactAcctSummary FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org);
ALTER TABLE Fact_Acct_Summary ADD (CONSTRAINT CLocFrom_FactAcctSummary FOREIGN KEY (C_LocFrom_ID) REFERENCES C_Location);
ALTER TABLE Fact_Acct_Summary ADD (CONSTRAINT CLocTo_FactAcctSummary FOREIGN KEY (C_LocTo_ID) REFERENCES C_Location);
ALTER TABLE Fact_Reconciliation ADD (CONSTRAINT FactAcct_FactReconciliation FOREIGN KEY (Fact_Acct_ID) REFERENCES Fact_Acct);
ALTER TABLE GL_JournalGeneratorSource ADD (CONSTRAINT GLCategory_GLJournalGeneratorS FOREIGN KEY (GL_Category_ID) REFERENCES GL_Category);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT ADOrgTrx_GLJournalLine FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CActivity_GLJournalLine FOREIGN KEY (C_Activity_ID) REFERENCES C_Activity);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CBPartner_GLJournalLine FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CCampaign_GLJournalLine FOREIGN KEY (C_Campaign_ID) REFERENCES C_Campaign);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT Account_GLJournalLine FOREIGN KEY (Account_ID) REFERENCES C_ElementValue);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT User1_GLJournalLine FOREIGN KEY (User1_ID) REFERENCES C_ElementValue);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT User2_GLJournalLine FOREIGN KEY (User2_ID) REFERENCES C_ElementValue);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CLocFrom_GLJournalLine FOREIGN KEY (C_LocFrom_ID) REFERENCES C_Location);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CLocTo_GLJournalLine FOREIGN KEY (C_LocTo_ID) REFERENCES C_Location);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CProject_GLJournalLine FOREIGN KEY (C_Project_ID) REFERENCES C_Project);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CSalesRegion_GLJournalLine FOREIGN KEY (C_SalesRegion_ID) REFERENCES C_SalesRegion);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT CSubAcct_GLJournalLine FOREIGN KEY (C_SubAcct_ID) REFERENCES C_SubAcct);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT AliasValidCombination_GLJourna FOREIGN KEY (Alias_ValidCombination_ID) REFERENCES C_ValidCombination);
ALTER TABLE GL_JournalLine ADD (CONSTRAINT MProduct_GLJournalLine FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE HR_Movement ADD (CONSTRAINT CBPBankAccount_HRMovement FOREIGN KEY (C_BP_BankAccount_ID) REFERENCES C_BP_BankAccount);
ALTER TABLE HR_Movement ADD (CONSTRAINT CBPGroup_HRMovement FOREIGN KEY (C_BP_Group_ID) REFERENCES C_BP_Group);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT AAsset_IFixedAsset FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT AAssetClass_IFixedAsset FOREIGN KEY (A_Asset_Class_ID) REFERENCES A_Asset_Class);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT AAssetGroup_IFixedAsset FOREIGN KEY (A_Asset_Group_ID) REFERENCES A_Asset_Group);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT AAssetType_IFixedAsset FOREIGN KEY (A_Asset_Type_ID) REFERENCES A_Asset_Type);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT CBPartnerSR_IFixedAsset FOREIGN KEY (C_BPartnerSR_ID) REFERENCES C_BPartner);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT CCity_IFixedAsset FOREIGN KEY (C_City_ID) REFERENCES C_City);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT CUOM_IFixedAsset FOREIGN KEY (C_UOM_ID) REFERENCES C_UOM);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT MLocator_IFixedAsset FOREIGN KEY (M_Locator_ID) REFERENCES M_Locator);
ALTER TABLE I_FixedAsset ADD (CONSTRAINT MProduct_IFixedAsset FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE I_HR_Movement ADD (CONSTRAINT CBPartner_IHRMovement FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner);
ALTER TABLE I_HR_Movement ADD (CONSTRAINT HRConcept_IHRMovement FOREIGN KEY (HR_Concept_ID) REFERENCES HR_Concept);
ALTER TABLE I_HR_Movement ADD (CONSTRAINT HRMovement_IHRMovement FOREIGN KEY (HR_Movement_ID) REFERENCES HR_Movement);
ALTER TABLE I_HR_Movement ADD (CONSTRAINT HRProcess_IHRMovement FOREIGN KEY (HR_Process_ID) REFERENCES HR_Process);
ALTER TABLE I_Inventory ADD (CONSTRAINT CCharge_IInventory FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge);
ALTER TABLE I_Inventory ADD (CONSTRAINT CDocType_IInventory FOREIGN KEY (C_DocType_ID) REFERENCES C_DocType);
ALTER TABLE I_Movement ADD (CONSTRAINT ADOrgTrx_IMovement FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org);
ALTER TABLE I_Movement ADD (CONSTRAINT ADUser_IMovement FOREIGN KEY (AD_User_ID) REFERENCES AD_User);
ALTER TABLE I_Movement ADD (CONSTRAINT CBPartner_IMovement FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner);
ALTER TABLE I_Movement ADD (CONSTRAINT CCampaign_IMovement FOREIGN KEY (C_Campaign_ID) REFERENCES C_Campaign);
ALTER TABLE I_Movement ADD (CONSTRAINT CDocType_IMovement FOREIGN KEY (C_DocType_ID) REFERENCES C_DocType);
ALTER TABLE I_Movement ADD (CONSTRAINT CProject_IMovement FOREIGN KEY (C_Project_ID) REFERENCES C_Project);
ALTER TABLE I_Movement ADD (CONSTRAINT MMovement_IMovement FOREIGN KEY (M_Movement_ID) REFERENCES M_Movement);
ALTER TABLE I_Movement ADD (CONSTRAINT MMovementLine_IMovement FOREIGN KEY (M_MovementLine_ID) REFERENCES M_MovementLine);
ALTER TABLE I_Movement ADD (CONSTRAINT MProduct_IMovement FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE I_Movement ADD (CONSTRAINT MShipper_IMovement FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper);
ALTER TABLE M_CostHistory ADD (CONSTRAINT MCostDetail_MCostHistory FOREIGN KEY (M_CostDetail_ID) REFERENCES M_CostDetail);
ALTER TABLE M_CostHistory ADD (CONSTRAINT MCostElement_MCostHistory FOREIGN KEY (M_CostElement_ID) REFERENCES M_CostElement);
ALTER TABLE M_CostHistory ADD (CONSTRAINT MCostType_MCostHistory FOREIGN KEY (M_CostType_ID) REFERENCES M_CostType);
ALTER TABLE M_Product ADD (CONSTRAINT MPartType_MProduct FOREIGN KEY (M_PartType_ID) REFERENCES M_PartType);
ALTER TABLE M_Production ADD (CONSTRAINT COrderLine_MProduction FOREIGN KEY (C_OrderLine_ID) REFERENCES C_OrderLine);
ALTER TABLE M_Production ADD (CONSTRAINT MProduct_MProduction FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE M_ProductionLine ADD (CONSTRAINT MProduction_MProductionLine FOREIGN KEY (M_Production_ID) REFERENCES M_Production);
ALTER TABLE M_Product_QualityTest ADD (CONSTRAINT MProduct_MProductQualityTest FOREIGN KEY (M_Product_ID) REFERENCES M_Product);
ALTER TABLE M_Product_QualityTest ADD (CONSTRAINT MQualityTest_MProductQualityTe FOREIGN KEY (M_QualityTest_ID) REFERENCES M_QualityTest);
ALTER TABLE M_QualityTestResult ADD (CONSTRAINT MQualityTest_MQualityTestResul FOREIGN KEY (M_QualityTest_ID) REFERENCES M_QualityTest);
ALTER TABLE PA_DashboardContent ADD (CONSTRAINT ADProcess_PADashboardContent FOREIGN KEY (AD_Process_ID) REFERENCES AD_Process);
ALTER TABLE PA_DashboardContent ADD (CONSTRAINT ADRole_PADashboardContent FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role);
ALTER TABLE PA_DashboardContent ADD (CONSTRAINT ADUser_PADashboardContent FOREIGN KEY (AD_User_ID) REFERENCES AD_User);
ALTER TABLE PA_DashboardPreference ADD (CONSTRAINT ADRole_PADashboardPreference FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role);
ALTER TABLE PA_DashboardPreference ADD (CONSTRAINT ADUser_PADashboardPreference FOREIGN KEY (AD_User_ID) REFERENCES AD_User);
ALTER TABLE PA_DashboardPreference ADD (CONSTRAINT PADashboardContent_PADashPref FOREIGN KEY (PA_DashboardContent_ID) REFERENCES PA_DashboardContent);
ALTER TABLE R_RequestProcessor ADD (CONSTRAINT ADSchedule_RRequestProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule);
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT AAccumdepreciation_AAssetAcct FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ADisposalGain_AAssetAcct FOREIGN KEY(A_Disposal_Gain_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ADisposalLoss_AAssetAcct FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ADisposalRevenue_AAssetAcct FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ARevalAdepOffsetCur_AAssetAcct FOREIGN KEY(A_Reval_Adep_Offset_Cur_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ARevalAdepOffsetPrior_AAssetAc FOREIGN KEY(A_Reval_Adep_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ARevalCostOffset_AAssetAcct FOREIGN KEY(A_Reval_Cost_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ARevalCostOffsetPrior_AAssetAc FOREIGN KEY(A_Reval_Cost_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Acct ADD (CONSTRAINT ARevalDepexpOffset_AAssetAcct FOREIGN KEY(A_Reval_Depexp_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT MAttributeSetInstance_AAssetAd FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID));
ALTER TABLE A_Asset_Addition ADD (CONSTRAINT MLocator_AAssetAddition FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID));
ALTER TABLE A_Asset_Change ADD (CONSTRAINT AAccumdepreciation_AAssetChang FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Change ADD (CONSTRAINT ADepreciation_AAssetChange FOREIGN KEY(A_Depreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Change ADD (CONSTRAINT ADisposalLoss_AAssetChange FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Change ADD (CONSTRAINT ADisposalRevenue_AAssetChange FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Change ADD (CONSTRAINT CValidCombinati_AAssetChange FOREIGN KEY(C_ValidCombination_ID) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT AAccumdepreciation_AAssetGroup FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT AAsset_AAssetGroupAcct FOREIGN KEY(A_Asset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADisposalGain_AAssetGroupAcct FOREIGN KEY(A_Disposal_Gain_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADisposalLoss_AAssetGroupAcct FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ADisposalRevenue_AAssetGroupAc FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ARevalAdepOffsetCur_AAssetGrou FOREIGN KEY(A_Reval_Adep_Offset_Cur_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ARevalAdepOffsetPrior_AAssetGr FOREIGN KEY(A_Reval_Adep_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ARevalCostOffset_AAssetGroupAc FOREIGN KEY(A_Reval_Cost_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ARevalCostOffsetPrior_AAssetGr FOREIGN KEY(A_Reval_Cost_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Group_Acct ADD (CONSTRAINT ARevalDepexpOffset_AAssetGroup FOREIGN KEY(A_Reval_Depexp_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Product ADD (CONSTRAINT MAttributeSetInstance_AAssetPr FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID));
ALTER TABLE A_Asset_Product ADD (CONSTRAINT MLocator_AAssetProduct FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT AAccumdepreciation_AAssetTrans FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT AAccumdepreciationNew_AAssetTr FOREIGN KEY(A_Accumdepreciation_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT AAssetNew_AAssetTransfer FOREIGN KEY(A_Asset_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT ADepreciation_AAssetTransfer FOREIGN KEY(A_Depreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT ADepreciationNew_AAssetTransfe FOREIGN KEY(A_Depreciation_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT ADisposalLoss_AAssetTransfer FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT ADisposalLossNew_AAssetTransfe FOREIGN KEY(A_Disposal_Loss_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT ADisposalRevenue_AAssetTransfe FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Asset_Transfer ADD (CONSTRAINT ADisposalRevenueNew_AAssetTran FOREIGN KEY(A_Disposal_Revenue_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT AAccountNumber_ADepreciationEx FOREIGN KEY(A_Account_Number_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT CRAccou_ADepreciationExp FOREIGN KEY(CR_Account_ID) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE A_Depreciation_Exp ADD (CONSTRAINT DRAccou_ADepreciationExp FOREIGN KEY(DR_Account_ID) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE C_AcctSchema_Default ADD (CONSTRAINT ChRevenue_CAcctSchemaDefault FOREIGN KEY(Ch_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE C_Charge_Acct ADD (CONSTRAINT ChRevenue_CChargeAcct FOREIGN KEY(Ch_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE I_Asset ADD (CONSTRAINT AAccumdepreciation_IAsset FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE I_Asset ADD (CONSTRAINT AAsset_IAsset FOREIGN KEY(A_Asset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE I_Asset ADD (CONSTRAINT ADepreciation_IAsset FOREIGN KEY(A_Depreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID));
ALTER TABLE I_Asset ADD (CONSTRAINT MAttributeSetInstance_IAsset FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID));
ALTER TABLE I_Movement ADD (CONSTRAINT MLocator_IMovement FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID));
ALTER TABLE I_Movement ADD (CONSTRAINT MLocatorTo_IMovement FOREIGN KEY(M_LocatorTo_ID) REFERENCES M_Locator(M_Locator_ID));
ALTER TABLE M_CostHistory ADD (CONSTRAINT MAttributeSetInstance_MCostHis FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID));
ALTER TABLE M_Production ADD (CONSTRAINT MLocator_MProduction FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID));
ALTER TABLE M_QualityTestResult ADD (CONSTRAINT MAttributeSetInstance_MQuality FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID));
SELECT register_migration_script('956_ForeignKeys.sql') FROM dual
;

View File

@ -0,0 +1,36 @@
update ad_sysconfig set value='N' where ad_sysconfig_id=50041 /* 'ALogin_ShowOneRole' */
;
update ad_sysconfig set value='N' where ad_sysconfig_id=200019 /* 'LOGIN_SHOW_RESETPASSWORD' */
;
update ad_sysconfig set value='HTML' where ad_sysconfig_id=200003 /* ZK_REPORT_TABLE_OUTPUT_TYPE */
;
UPDATE R_RequestProcessor SET IsActive='N' WHERE R_RequestProcessor_ID=100
;
update ad_field set isdisplayedgrid='N' where ad_column_id in (select ad_column_id from ad_column where ad_element_id=102) /* ad_client_id */
and ad_column_id not in (315, 904, 12629) /* except client window */
and ad_field_id < 1000000
;
update ad_field set isdisplayed='N', isdisplayedgrid='N'
where ad_field_id in (
200508,
200510,
200280,
200504,
200505,
200605,
200638)
;
update ad_field set isdisplayedgrid='N'
where isdisplayedgrid='Y' and isdisplayed='N'
and ad_field_id < 1000000
;
SELECT register_migration_script('957_SetSysConfig.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('925_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('926_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('937_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('951_PlaceHolder.sql') FROM dual
;

View File

@ -0,0 +1,4 @@
-- Just a placeholder
SELECT register_migration_script('953_PlaceHolder.sql') FROM dual
;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
UPDATE AD_Process SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Process_ID<1000000;
UPDATE AD_Process_Para SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Process_Para_ID<1000000;
UPDATE AD_ReportView SET EntityType = 'D' WHERE EntityType = 'U' AND AD_ReportView_ID<1000000;
UPDATE AD_Field SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Field_ID<1000000;
UPDATE AD_Element SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Element_ID<1000000;
UPDATE AD_Val_Rule SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Val_Rule_ID<1000000;
UPDATE AD_Reference SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Reference_ID<1000000;
UPDATE AD_Menu SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Menu_ID<1000000;
UPDATE AD_Ref_List SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Ref_List_ID<1000000;
UPDATE AD_Column SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Column_ID<1000000;
UPDATE AD_Table SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Table_ID<1000000;
UPDATE AD_Message SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Message_ID<1000000;
UPDATE AD_Window SET EntityType = 'D' WHERE EntityType = 'U' AND AD_Window_ID<1000000;
SELECT register_migration_script('955_FixWrongEntityTypes.sql') FROM dual
;

View File

@ -0,0 +1,381 @@
ALTER TABLE A_Asset ADD CONSTRAINT AAssetClass_AAsset FOREIGN KEY (A_Asset_Class_ID) REFERENCES A_Asset_Class DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset ADD CONSTRAINT AAssetType_AAsset FOREIGN KEY (A_Asset_Type_ID) REFERENCES A_Asset_Type DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset ADD CONSTRAINT CActivity_AAsset FOREIGN KEY (C_Activity_ID) REFERENCES C_Activity DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ADepreciationF_AAssetAcct FOREIGN KEY (A_Depreciation_F_ID) REFERENCES A_Depreciation DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ADepreciationConvF_AAssetAcct FOREIGN KEY (A_Depreciation_Conv_F_ID) REFERENCES A_Depreciation_Convention DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ADepreciationMethodF_AAssetAcc FOREIGN KEY (A_Depreciation_Method_F_ID) REFERENCES A_Depreciation_Method DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT CCharge_AAssetAddition FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT CConversionType_AAssetAddition FOREIGN KEY (C_ConversionType_ID) REFERENCES C_ConversionType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT CCurrency_AAssetAddition FOREIGN KEY (C_Currency_ID) REFERENCES C_Currency DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT CProject_AAssetAddition FOREIGN KEY (C_Project_ID) REFERENCES C_Project DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT IFixedAsset_AAssetAddition FOREIGN KEY (I_FixedAsset_ID) REFERENCES I_FixedAsset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT MInOutLine_AAssetAddition FOREIGN KEY (M_InOutLine_ID) REFERENCES M_InOutLine DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT MMatchInv_AAssetAddition FOREIGN KEY (M_MatchInv_ID) REFERENCES M_MatchInv DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT MProduct_AAssetAddition FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Change ADD CONSTRAINT CBPartner_AAssetChange FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Disposed ADD CONSTRAINT AAsset_AAssetDisposed FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Disposed ADD CONSTRAINT CInvoice_AAssetDisposed FOREIGN KEY (C_Invoice_ID) REFERENCES C_Invoice DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Disposed ADD CONSTRAINT CInvoiceLine_AAssetDisposed FOREIGN KEY (C_InvoiceLine_ID) REFERENCES C_InvoiceLine DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group ADD CONSTRAINT AAssetClass_AAssetGroup FOREIGN KEY (A_Asset_Class_ID) REFERENCES A_Asset_Class DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group ADD CONSTRAINT AAssetType_AAssetGroup FOREIGN KEY (A_Asset_Type_ID) REFERENCES A_Asset_Type DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADepreciationF_AAssetGroupAcct FOREIGN KEY (A_Depreciation_F_ID) REFERENCES A_Depreciation DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADepreciationConvF_AAssetGroup FOREIGN KEY (A_Depreciation_Conv_F_ID) REFERENCES A_Depreciation_Convention DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADepreciationConv_AAssetGroupA FOREIGN KEY (A_Depreciation_Conv_ID) REFERENCES A_Depreciation_Convention DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADepreciationMethodF_AAssetGro FOREIGN KEY (A_Depreciation_Method_F_ID) REFERENCES A_Depreciation_Method DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADepreciationMethod_AAssetGrou FOREIGN KEY (A_Depreciation_Method_ID) REFERENCES A_Depreciation_Method DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Info_Fin ADD CONSTRAINT AAsset_AAssetInfoFin FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Info_Fin ADD CONSTRAINT CBPartner_AAssetInfoFin FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Info_Lic ADD CONSTRAINT AAsset_AAssetInfoLic FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Product ADD CONSTRAINT AAsset_AAssetProduct FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Product ADD CONSTRAINT MProduct_AAssetProduct FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Reval ADD CONSTRAINT AAsset_AAssetReval FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT AAsset_AAssetTransfer FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_AlertProcessor ADD CONSTRAINT ADSchedule_ADAlertProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_Client ADD CONSTRAINT ADPasswordRule_ADClient FOREIGN KEY (AD_PasswordRule_ID) REFERENCES AD_PasswordRule DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT AAsset_ADepreciationExp FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT AAssetAddition_ADepreciationEx FOREIGN KEY (A_Asset_Addition_ID) REFERENCES A_Asset_Addition DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT AAssetDisposed_ADepreciationEx FOREIGN KEY (A_Asset_Disposed_ID) REFERENCES A_Asset_Disposed DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT ADepreciationEntry_ADepreciati FOREIGN KEY (A_Depreciation_Entry_ID) REFERENCES A_Depreciation_Entry DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Workfile ADD CONSTRAINT AAsset_ADepreciationWorkfile FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Workfile ADD CONSTRAINT AFundingMode_ADepreciationWork FOREIGN KEY (A_FundingMode_ID) REFERENCES A_FundingMode DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_Package_Exp_Detail ADD CONSTRAINT ADPackageExp_ADPackageExpDetai FOREIGN KEY (AD_Package_Exp_ID) REFERENCES AD_Package_Exp DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_PInstance_Log ADD CONSTRAINT ADTable_ADPInstanceLog FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_RecentItem ADD CONSTRAINT ADRole_ADRecentItem FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_RecentItem ADD CONSTRAINT ADTab_ADRecentItem FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_RecentItem ADD CONSTRAINT ADTable_ADRecentItem FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_RecentItem ADD CONSTRAINT ADUser_ADRecentItem FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_RecentItem ADD CONSTRAINT ADWindow_ADRecentItem FOREIGN KEY (AD_Window_ID) REFERENCES AD_Window DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_Scheduler ADD CONSTRAINT ADSchedule_ADScheduler FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_Scheduler ADD CONSTRAINT ADTable_ADScheduler FOREIGN KEY (AD_Table_ID) REFERENCES AD_Table DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_Tab_Customization ADD CONSTRAINT ADTab_ADTabCustomization FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_Tab_Customization ADD CONSTRAINT ADUser_ADTabCustomization FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButton ADD CONSTRAINT ADProcess_ADToolBarButton FOREIGN KEY (AD_Process_ID) REFERENCES AD_Process DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButton ADD CONSTRAINT ADTab_ADToolBarButton FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButtonRestrict ADD CONSTRAINT ADProcess_ADToolBarButtonRestr FOREIGN KEY (AD_Process_ID) REFERENCES AD_Process DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButtonRestrict ADD CONSTRAINT ADRole_ADToolBarButtonRestrict FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButtonRestrict ADD CONSTRAINT ADTab_ADToolBarButtonRestrict FOREIGN KEY (AD_Tab_ID) REFERENCES AD_Tab DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButtonRestrict ADD CONSTRAINT ADToolBarButton_ADToolBarButto FOREIGN KEY (AD_ToolBarButton_ID) REFERENCES AD_ToolBarButton DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_ToolBarButtonRestrict ADD CONSTRAINT ADWindow_ADToolBarButtonRestri FOREIGN KEY (AD_Window_ID) REFERENCES AD_Window DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_WizardProcess ADD CONSTRAINT ADWFNode_ADWizardProcess FOREIGN KEY (AD_WF_Node_ID) REFERENCES AD_WF_Node DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE AD_WorkflowProcessor ADD CONSTRAINT ADSchedule_ADWorkflowProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_FundingMode_Acct ADD CONSTRAINT AFundingMode_AFundingModeAcct FOREIGN KEY (A_FundingMode_ID) REFERENCES A_FundingMode DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_FundingMode_Acct ADD CONSTRAINT CAcctSchema_AFundingModeAcct FOREIGN KEY (C_AcctSchema_ID) REFERENCES C_AcctSchema DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE ASP_Ref_List ADD CONSTRAINT ADReference_ASPRefList FOREIGN KEY (AD_Reference_ID) REFERENCES AD_Reference DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE ASP_Ref_List ADD CONSTRAINT ADRefList_ASPRefList FOREIGN KEY (AD_Ref_List_ID) REFERENCES AD_Ref_List DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE ASP_Ref_List ADD CONSTRAINT ASPLevel_ASPRefList FOREIGN KEY (ASP_Level_ID) REFERENCES ASP_Level DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_AcctProcessor ADD CONSTRAINT ADSchedule_CAcctProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_AllocationLine ADD CONSTRAINT CCharge_CAllocationLine FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_BankAccount_Processor ADD CONSTRAINT CBankAccount_CBankAccountProce FOREIGN KEY (C_BankAccount_ID) REFERENCES C_BankAccount DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_BankAccount_Processor ADD CONSTRAINT CPaymentProcessor_CBankAccount FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_Payment ADD CONSTRAINT CPaymentProcessor_CPayment FOREIGN KEY (C_PaymentProcessor_ID) REFERENCES C_PaymentProcessor DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_Payment ADD CONSTRAINT CPOSTenderType_CPayment FOREIGN KEY (C_POSTenderType_ID) REFERENCES C_POSTenderType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSPayment ADD CONSTRAINT COrder_CPOSPayment FOREIGN KEY (C_Order_ID) REFERENCES C_Order DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSPayment ADD CONSTRAINT CPayment_CPOSPayment FOREIGN KEY (C_Payment_ID) REFERENCES C_Payment DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_POSPayment ADD CONSTRAINT CPOSTenderType_CPOSPayment FOREIGN KEY (C_POSTenderType_ID) REFERENCES C_POSTenderType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE DD_OrderLine ADD CONSTRAINT MShipper_DDOrderLine FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE Fact_Acct_Summary ADD CONSTRAINT ADOrgTrx_FactAcctSummary FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE Fact_Acct_Summary ADD CONSTRAINT CLocFrom_FactAcctSummary FOREIGN KEY (C_LocFrom_ID) REFERENCES C_Location DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE Fact_Acct_Summary ADD CONSTRAINT CLocTo_FactAcctSummary FOREIGN KEY (C_LocTo_ID) REFERENCES C_Location DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE Fact_Reconciliation ADD CONSTRAINT FactAcct_FactReconciliation FOREIGN KEY (Fact_Acct_ID) REFERENCES Fact_Acct DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalGeneratorSource ADD CONSTRAINT GLCategory_GLJournalGeneratorS FOREIGN KEY (GL_Category_ID) REFERENCES GL_Category DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT ADOrgTrx_GLJournalLine FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CActivity_GLJournalLine FOREIGN KEY (C_Activity_ID) REFERENCES C_Activity DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CBPartner_GLJournalLine FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CCampaign_GLJournalLine FOREIGN KEY (C_Campaign_ID) REFERENCES C_Campaign DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT Account_GLJournalLine FOREIGN KEY (Account_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT User1_GLJournalLine FOREIGN KEY (User1_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT User2_GLJournalLine FOREIGN KEY (User2_ID) REFERENCES C_ElementValue DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CLocFrom_GLJournalLine FOREIGN KEY (C_LocFrom_ID) REFERENCES C_Location DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CLocTo_GLJournalLine FOREIGN KEY (C_LocTo_ID) REFERENCES C_Location DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CProject_GLJournalLine FOREIGN KEY (C_Project_ID) REFERENCES C_Project DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CSalesRegion_GLJournalLine FOREIGN KEY (C_SalesRegion_ID) REFERENCES C_SalesRegion DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT CSubAcct_GLJournalLine FOREIGN KEY (C_SubAcct_ID) REFERENCES C_SubAcct DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT AliasValidCombination_GLJourna FOREIGN KEY (Alias_ValidCombination_ID) REFERENCES C_ValidCombination DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE GL_JournalLine ADD CONSTRAINT MProduct_GLJournalLine FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE HR_Movement ADD CONSTRAINT CBPBankAccount_HRMovement FOREIGN KEY (C_BP_BankAccount_ID) REFERENCES C_BP_BankAccount DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE HR_Movement ADD CONSTRAINT CBPGroup_HRMovement FOREIGN KEY (C_BP_Group_ID) REFERENCES C_BP_Group DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT AAsset_IFixedAsset FOREIGN KEY (A_Asset_ID) REFERENCES A_Asset DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT AAssetClass_IFixedAsset FOREIGN KEY (A_Asset_Class_ID) REFERENCES A_Asset_Class DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT AAssetGroup_IFixedAsset FOREIGN KEY (A_Asset_Group_ID) REFERENCES A_Asset_Group DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT AAssetType_IFixedAsset FOREIGN KEY (A_Asset_Type_ID) REFERENCES A_Asset_Type DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT CBPartnerSR_IFixedAsset FOREIGN KEY (C_BPartnerSR_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT CCity_IFixedAsset FOREIGN KEY (C_City_ID) REFERENCES C_City DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT CUOM_IFixedAsset FOREIGN KEY (C_UOM_ID) REFERENCES C_UOM DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT MLocator_IFixedAsset FOREIGN KEY (M_Locator_ID) REFERENCES M_Locator DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_FixedAsset ADD CONSTRAINT MProduct_IFixedAsset FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_HR_Movement ADD CONSTRAINT CBPartner_IHRMovement FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_HR_Movement ADD CONSTRAINT HRConcept_IHRMovement FOREIGN KEY (HR_Concept_ID) REFERENCES HR_Concept DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_HR_Movement ADD CONSTRAINT HRMovement_IHRMovement FOREIGN KEY (HR_Movement_ID) REFERENCES HR_Movement DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_HR_Movement ADD CONSTRAINT HRProcess_IHRMovement FOREIGN KEY (HR_Process_ID) REFERENCES HR_Process DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Inventory ADD CONSTRAINT CCharge_IInventory FOREIGN KEY (C_Charge_ID) REFERENCES C_Charge DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Inventory ADD CONSTRAINT CDocType_IInventory FOREIGN KEY (C_DocType_ID) REFERENCES C_DocType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT ADOrgTrx_IMovement FOREIGN KEY (AD_OrgTrx_ID) REFERENCES AD_Org DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT ADUser_IMovement FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT CBPartner_IMovement FOREIGN KEY (C_BPartner_ID) REFERENCES C_BPartner DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT CCampaign_IMovement FOREIGN KEY (C_Campaign_ID) REFERENCES C_Campaign DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT CDocType_IMovement FOREIGN KEY (C_DocType_ID) REFERENCES C_DocType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT CProject_IMovement FOREIGN KEY (C_Project_ID) REFERENCES C_Project DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT MMovement_IMovement FOREIGN KEY (M_Movement_ID) REFERENCES M_Movement DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT MMovementLine_IMovement FOREIGN KEY (M_MovementLine_ID) REFERENCES M_MovementLine DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT MProduct_IMovement FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT MShipper_IMovement FOREIGN KEY (M_Shipper_ID) REFERENCES M_Shipper DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_CostHistory ADD CONSTRAINT MCostDetail_MCostHistory FOREIGN KEY (M_CostDetail_ID) REFERENCES M_CostDetail DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_CostHistory ADD CONSTRAINT MCostElement_MCostHistory FOREIGN KEY (M_CostElement_ID) REFERENCES M_CostElement DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_CostHistory ADD CONSTRAINT MCostType_MCostHistory FOREIGN KEY (M_CostType_ID) REFERENCES M_CostType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_Product ADD CONSTRAINT MPartType_MProduct FOREIGN KEY (M_PartType_ID) REFERENCES M_PartType DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_Production ADD CONSTRAINT COrderLine_MProduction FOREIGN KEY (C_OrderLine_ID) REFERENCES C_OrderLine DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_Production ADD CONSTRAINT MProduct_MProduction FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_ProductionLine ADD CONSTRAINT MProduction_MProductionLine FOREIGN KEY (M_Production_ID) REFERENCES M_Production DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_Product_QualityTest ADD CONSTRAINT MProduct_MProductQualityTest FOREIGN KEY (M_Product_ID) REFERENCES M_Product DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_Product_QualityTest ADD CONSTRAINT MQualityTest_MProductQualityTe FOREIGN KEY (M_QualityTest_ID) REFERENCES M_QualityTest DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_QualityTestResult ADD CONSTRAINT MQualityTest_MQualityTestResul FOREIGN KEY (M_QualityTest_ID) REFERENCES M_QualityTest DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE PA_DashboardContent ADD CONSTRAINT ADProcess_PADashboardContent FOREIGN KEY (AD_Process_ID) REFERENCES AD_Process DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE PA_DashboardContent ADD CONSTRAINT ADRole_PADashboardContent FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE PA_DashboardContent ADD CONSTRAINT ADUser_PADashboardContent FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE PA_DashboardPreference ADD CONSTRAINT ADRole_PADashboardPreference FOREIGN KEY (AD_Role_ID) REFERENCES AD_Role DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE PA_DashboardPreference ADD CONSTRAINT ADUser_PADashboardPreference FOREIGN KEY (AD_User_ID) REFERENCES AD_User DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE PA_DashboardPreference ADD CONSTRAINT PADashboardContent_PADashPref FOREIGN KEY (PA_DashboardContent_ID) REFERENCES PA_DashboardContent DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE R_RequestProcessor ADD CONSTRAINT ADSchedule_RRequestProcessor FOREIGN KEY (AD_Schedule_ID) REFERENCES AD_Schedule DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT AAccumdepreciation_AAssetAcct FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ADisposalGain_AAssetAcct FOREIGN KEY(A_Disposal_Gain_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ADisposalLoss_AAssetAcct FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ADisposalRevenue_AAssetAcct FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ARevalAdepOffsetCur_AAssetAcct FOREIGN KEY(A_Reval_Adep_Offset_Cur_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ARevalAdepOffsetPrior_AAssetAc FOREIGN KEY(A_Reval_Adep_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ARevalCostOffset_AAssetAcct FOREIGN KEY(A_Reval_Cost_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ARevalCostOffsetPrior_AAssetAc FOREIGN KEY(A_Reval_Cost_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Acct ADD CONSTRAINT ARevalDepexpOffset_AAssetAcct FOREIGN KEY(A_Reval_Depexp_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT MAttributeSetInstance_AAssetAd FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Addition ADD CONSTRAINT MLocator_AAssetAddition FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Change ADD CONSTRAINT AAccumdepreciation_AAssetChang FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Change ADD CONSTRAINT ADepreciation_AAssetChange FOREIGN KEY(A_Depreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Change ADD CONSTRAINT ADisposalLoss_AAssetChange FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Change ADD CONSTRAINT ADisposalRevenue_AAssetChange FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Change ADD CONSTRAINT CValidCombinati_AAssetChange FOREIGN KEY(C_ValidCombination_ID) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT AAccumdepreciation_AAssetGroup FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT AAsset_AAssetGroupAcct FOREIGN KEY(A_Asset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADisposalGain_AAssetGroupAcct FOREIGN KEY(A_Disposal_Gain_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADisposalLoss_AAssetGroupAcct FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ADisposalRevenue_AAssetGroupAc FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ARevalAdepOffsetCur_AAssetGrou FOREIGN KEY(A_Reval_Adep_Offset_Cur_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ARevalAdepOffsetPrior_AAssetGr FOREIGN KEY(A_Reval_Adep_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ARevalCostOffset_AAssetGroupAc FOREIGN KEY(A_Reval_Cost_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ARevalCostOffsetPrior_AAssetGr FOREIGN KEY(A_Reval_Cost_Offset_Prior_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Group_Acct ADD CONSTRAINT ARevalDepexpOffset_AAssetGroup FOREIGN KEY(A_Reval_Depexp_Offset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Product ADD CONSTRAINT MAttributeSetInstance_AAssetPr FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Product ADD CONSTRAINT MLocator_AAssetProduct FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT AAccumdepreciation_AAssetTrans FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT AAccumdepreciationNew_AAssetTr FOREIGN KEY(A_Accumdepreciation_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT AAssetNew_AAssetTransfer FOREIGN KEY(A_Asset_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT ADepreciation_AAssetTransfer FOREIGN KEY(A_Depreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT ADepreciationNew_AAssetTransfe FOREIGN KEY(A_Depreciation_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT ADisposalLoss_AAssetTransfer FOREIGN KEY(A_Disposal_Loss_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT ADisposalLossNew_AAssetTransfe FOREIGN KEY(A_Disposal_Loss_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT ADisposalRevenue_AAssetTransfe FOREIGN KEY(A_Disposal_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Asset_Transfer ADD CONSTRAINT ADisposalRevenueNew_AAssetTran FOREIGN KEY(A_Disposal_Revenue_New_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT AAccountNumber_ADepreciationEx FOREIGN KEY(A_Account_Number_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT CRAccou_ADepreciationExp FOREIGN KEY(CR_Account_ID) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE A_Depreciation_Exp ADD CONSTRAINT DRAccou_ADepreciationExp FOREIGN KEY(DR_Account_ID) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_AcctSchema_Default ADD CONSTRAINT ChRevenue_CAcctSchemaDefault FOREIGN KEY(Ch_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE C_Charge_Acct ADD CONSTRAINT ChRevenue_CChargeAcct FOREIGN KEY(Ch_Revenue_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Asset ADD CONSTRAINT AAccumdepreciation_IAsset FOREIGN KEY(A_Accumdepreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Asset ADD CONSTRAINT AAsset_IAsset FOREIGN KEY(A_Asset_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Asset ADD CONSTRAINT ADepreciation_IAsset FOREIGN KEY(A_Depreciation_Acct) REFERENCES C_ValidCombination(C_ValidCombination_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Asset ADD CONSTRAINT MAttributeSetInstance_IAsset FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT MLocator_IMovement FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE I_Movement ADD CONSTRAINT MLocatorTo_IMovement FOREIGN KEY(M_LocatorTo_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_CostHistory ADD CONSTRAINT MAttributeSetInstance_MCostHis FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_Production ADD CONSTRAINT MLocator_MProduction FOREIGN KEY(M_Locator_ID) REFERENCES M_Locator(M_Locator_ID) DEFERRABLE INITIALLY DEFERRED;
ALTER TABLE M_QualityTestResult ADD CONSTRAINT MAttributeSetInstance_MQuality FOREIGN KEY(M_AttributeSetInstance_ID) REFERENCES M_AttributeSetInstance(M_AttributeSetInstance_ID) DEFERRABLE INITIALLY DEFERRED;
SELECT register_migration_script('956_ForeignKeys.sql') FROM dual
;

View File

@ -0,0 +1,36 @@
update ad_sysconfig set value='N' where ad_sysconfig_id=50041 /* 'ALogin_ShowOneRole' */
;
update ad_sysconfig set value='N' where ad_sysconfig_id=200019 /* 'LOGIN_SHOW_RESETPASSWORD' */
;
update ad_sysconfig set value='HTML' where ad_sysconfig_id=200003 /* ZK_REPORT_TABLE_OUTPUT_TYPE */
;
UPDATE R_RequestProcessor SET IsActive='N' WHERE R_RequestProcessor_ID=100
;
update ad_field set isdisplayedgrid='N' where ad_column_id in (select ad_column_id from ad_column where ad_element_id=102) /* ad_client_id */
and ad_column_id not in (315, 904, 12629) /* except client window */
and ad_field_id < 1000000
;
update ad_field set isdisplayed='N', isdisplayedgrid='N'
where ad_field_id in (
200508,
200510,
200280,
200504,
200505,
200605,
200638)
;
update ad_field set isdisplayedgrid='N'
where isdisplayedgrid='Y' and isdisplayed='N'
and ad_field_id < 1000000
;
SELECT register_migration_script('957_SetSysConfig.sql') FROM dual
;